[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nss-mysql-users] Locking Issues?
From: |
Theo Zourzouvillys |
Subject: |
Re: [Nss-mysql-users] Locking Issues? |
Date: |
Mon, 26 Aug 2002 23:47:18 +0100 |
User-agent: |
KMail/1.4.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 26 August 2002 11:21 am, Guillaume Morin wrote:
> > Now, errr, call me mad, but that should *not* be happening. I've spent
> > all evening investigating how pthread_mutex_lock could possibly be
> > locking the same mutex twice, but just can't see it.
>
> Are the printed PIDs (10674 1352) differents instances of a same program
> or differents threads of the same process ?
Ahhh, well considering this is me SSH'ing in, one would be the child fork(),
the other the main server, i would say.
I've looked more, and it deffinatly only does it whenever the mysql-server is
under heavy load. if the query takes ~ < 0.10s, then it seems to work,
otherwise, i get this when logging in:
[theo]~# ssh address@hidden
Connection to shell-server closed by remote host.
Connection to shell-server closed.
sometimes it gets as far as logging me in and showing an motd:
[theo]~# ssh address@hidden
[snip legal crap in motd]
address@hidden:~$ Connection to shell-server closed by remote host.
Connection to shell-server closed.
that mostly seems to happen when nscd is running.
arghghgh!
~ Theo
- --
Theo Zourzouvillys
+ Operations Manager
+ Associated Networks Limited
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9arAC448CrwpTn6YRAvuOAKD7GJB7a5nDFkeV756nHmi4TqrbzwCfUYWy
GtG+u4mciWPUsw7A90PvEAw=
=WmgX
-----END PGP SIGNATURE-----