Diburim
2002-Apr-11 01:04 UTC
rsync processes hang and client failing on "max connections"
rsync processes hang and client failing on "max connections", I can't kill rsync process. The temporary work around are: increase max connections in /etc/rsyncd.conf or reboot the server ! The client get this error: @ERROR: max connections (6) reached - try again later $ ps -aux | grep rsync admin 30408 0.0 0.0 1696 232 ? S Mar26 0:00 [rsync] admin 28121 0.0 0.0 1688 40 ? S Mar26 0:00 [rsync] admin 29137 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync] admin 30430 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync] admin 11476 0.0 0.0 1688 40 ? S Mar27 0:01 [rsync] root 4529 0.0 0.6 2412 1704 ? S Apr10 0:03 rsyncd --daemon admin 16211 0.0 0.2 1368 520 pts/0 S 02:48 0:00 grep rsync Some rsync process never exit they are up for ~20 days. I can't kill them, nothing happen when I try to: kill 4529 kill 30408 etc... rsync is started from inetd rsync version on the server 2.5.2 clients are 2.5.2 and 2.5.4 Please advise Dib Urim
Jurrie Overgoor
2002-Apr-11 07:14 UTC
rsync processes hang and client failing on "max connections"
Maybe kill -9 <pid> helps?
This is more of a brute-force kill (mass slaughter! ;) ), and it'll close
the application without asking it to do so itself....
Just a quick suggestion though...
Greetz -- Jurrie
jurr@tref.nl
----- Oorspronkelijk bericht -----
Van: Diburim <diburim@active.co.il>
Aan: <rsync@samba.org>
Verzonden: donderdag 11 april 2002 11:01
Onderwerp: rsync processes hang and client failing on "max
connections"
> rsync processes hang and client failing on "max connections",
> I can't kill rsync process.
>
> The temporary work around are:
> increase max connections in /etc/rsyncd.conf
> or
> reboot the server !
>
> The client get this error:
> @ERROR: max connections (6) reached - try again later
>
> $ ps -aux | grep rsync
> admin 30408 0.0 0.0 1696 232 ? S Mar26 0:00 [rsync]
> admin 28121 0.0 0.0 1688 40 ? S Mar26 0:00 [rsync]
> admin 29137 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync]
> admin 30430 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync]
> admin 11476 0.0 0.0 1688 40 ? S Mar27 0:01 [rsync]
> root 4529 0.0 0.6 2412 1704 ? S Apr10 0:03
> rsyncd --daemon
> admin 16211 0.0 0.2 1368 520 pts/0 S 02:48 0:00 grep rsync
>
> Some rsync process never exit they are up for ~20 days.
> I can't kill them, nothing happen when I try to:
> kill 4529
> kill 30408
> etc...
>
> rsync is started from inetd
> rsync version on the server 2.5.2 clients are 2.5.2 and 2.5.4
>
> Please advise
>
> Dib Urim
>
>
> --
> To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
tim.conway@philips.com
2002-Apr-11 11:36 UTC
rsync processes hang and client failing on "max connections"
With the exception of SIGKILL (usually number 9), and SIGSEGV(usually
number 11), kills are just signals. Most programs respond to
SIGTERM(usually number 15, and the default signal from the kill program)
by putting their toys away and going to bed, so to speak. They are free,
however, to ignore the signal (or to be hung and just not notice it). Try
a "kill -KILL" on the processes, and i suspect that they will go away.
That doesn't address the root problem, though. I've seen ancient hung
processes, but don't know how to prevent them.
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
"Diburim" <diburim@active.co.il>
Sent by: rsync-admin@lists.samba.org
04/11/2002 03:01 AM
To: <rsync@samba.org>
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: rsync processes hang and client failing on "max
connections"
Classification:
rsync processes hang and client failing on "max connections",
I can't kill rsync process.
The temporary work around are:
increase max connections in /etc/rsyncd.conf
or
reboot the server !
The client get this error:
@ERROR: max connections (6) reached - try again later
$ ps -aux | grep rsync
admin 30408 0.0 0.0 1696 232 ? S Mar26 0:00 [rsync]
admin 28121 0.0 0.0 1688 40 ? S Mar26 0:00 [rsync]
admin 29137 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync]
admin 30430 0.0 0.0 1724 40 ? S Mar26 0:00 [rsync]
admin 11476 0.0 0.0 1688 40 ? S Mar27 0:01 [rsync]
root 4529 0.0 0.6 2412 1704 ? S Apr10 0:03
rsyncd --daemon
admin 16211 0.0 0.2 1368 520 pts/0 S 02:48 0:00 grep rsync
Some rsync process never exit they are up for ~20 days.
I can't kill them, nothing happen when I try to:
kill 4529
kill 30408
etc...
rsync is started from inetd
rsync version on the server 2.5.2 clients are 2.5.2 and 2.5.4
Please advise
Dib Urim
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Colin Walters
2002-Apr-11 22:21 UTC
rsync processes hang and client failing on "max connections"
On Thu, 2002-04-11 at 05:01, Diburim wrote:> rsync processes hang and client failing on "max connections", > I can't kill rsync process.[ ... ]> rsync is started from inetd > rsync version on the server 2.5.2 clients are 2.5.2 and 2.5.4Sounds like a bug that was fixed in 2.5.4. Could you try upgrading the server?