[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Post commit hook script: strange behavior

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2005-06-06 16:34:07 CEST

On Monday 06 June 2005 15:40, Lutz Frommberger wrote:
> But the ulimit hint perhaps explains the behavior that scripts doing
> much work invoked from post-commit run longer: the process limit is 2047
> then, and unlimited otherwise. Could be an explanation (but I still
> don't know why this occurs).

The process limit is the maximum number of processes allowed to run
simultanious ! This won't affect your execution speed and should not be set
to "unlimited" because simple fork bombs could bring your system down to a
halt (like this one: ":() { :|:& };:", try setting "ulimit -u 200" and run
this script as a user and then do "ulimit -u unlimited" and run it again...
but save your work first ;-)

C'ya,
        Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 17:11:32 2005

This is an archived mail posted to the Subversion Users mailing list.