Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2009 15:16:16 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        glewis@freebsd.org, freebsd-questions@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: port math/gnuplot hangs and ignores "kill -9"
Message-ID:  <20090917131616.GA1393@slackbox.xs4all.nl>
In-Reply-To: <20090917123404.GA101@mech-cluster241.men.bris.ac.uk>
References:  <20090914153728.GA60162@mech-cluster241.men.bris.ac.uk> <20090914154241.GA60268@mech-cluster241.men.bris.ac.uk> <20090914172233.GA69286@slackbox.xs4all.nl> <20090917123404.GA101@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 17, 2009 at 01:34:04PM +0100, Anton Shterenlikht wrote:
> > It could be that the process is stuck in the 'D' state (uninterruptable=
 wait).
> > You can veryfiy that by running 'ps -u' and looking in the eight column=
 when
> > gnuplot is running.=20
> >=20
> > Does the window with the plot actually appear?
> > =20
> > Interactive use of gnuplot-4.2.6 is fine on amd64 7.2-RELEASE-p2.
>=20
> I reinstalled gnuplot-4.2.6 and (hopefully) all ports on which it depends.
> I still get the same behaviour.=20
>=20
> top -PISu shows:
>=20
> last pid:   108;  load averages:  0.88,  0.35,  0.19    up 2+02:23:38  13=
:27:52
> 109 processes: 4 running, 88 sleeping, 17 waiting
> CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
> CPU 1:  0.0% user,  0.0% nice,  100% system,  0.0% interrupt,  0.0% idle
> Mem: 105M Active, 2074M Inact, 363M Wired, 768K Cache, 827M Buf, 5322M Fr=
ee
> Swap: 19G Total, 19G Free
>=20
>   PID    UID    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
>    11      0      2 171 ki31     0K    64K RUN     0  77.9H 100.00% idle
> 99992   1001      2  48    0 98240K 55608K CPU1    1   0:00 100.00% gnupl=
ot
>=20
> so gnuplot is using 100% and all in system state.
>=20
> and ps -u:
>=20
> USER    PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
> mexas 99992 98.1  0.7 98240 55608   5  R+    1:25pm   0:00.72 gnuplot
>=20
> so the state is not "D".
>=20
> The window does appear (just using simple gnuplot> plot sin(x), and
> the terminal is set to 'wxt', but nothing ever apears in the window.

The wxt terminal is only available when gnuplot is compiled with the wxWidg=
ets
toolkit. Try using the plain x11 terminal, and see if that works better?

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkqyNqAACgkQEnfvsMMhpyWIFACdHRlQWqXX54L2RHvtVN2agmVB
pcIAnj5lQRDvABxOFN/0NywtUSlYwaju
=b8xi
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090917131616.GA1393>