[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: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-06 18:08:40 CEST

On Monday 06 June 2005 14:42, Lutz Frommberger wrote:
> Am Montag, den 06.06.2005, 14:30 +0200 schrieb Nicolas Goutte:
> > Just an idea: have you different ulimit values for the user running the
> > script from Subversion and that such a limit would be triggered?
> > (assuming Subversion is running as another user).
>
> The user is always "www-data", no matter where I call the script. But
> anyway, this could be a good idea, because
>
> $ ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> stack size (kbytes, -s) 8192
> cpu time (seconds, -t) unlimited
> max user processes (-u) unlimited
> virtual memory (kbytes, -v) unlimited
>
> tells me a pipe size of 8 - and it works for files with no more than 8
> entries, and this is a piped call. Can't be chance...

Yes but 8 * 512 should be more than just 10 keywords or are your keywords so
large. (Also if the limit is reached, it porbably just means that cat is made
to sleep for a while, until th epipe has emptied again.

>
> My problem is that I never heard of the command "ulimit" before - what
> can I do to work around this problem? How can I (for testing) increase
> the pipe size? Even root seems to have a pipe size limit of 8.

As far as I understand ulimit -p cannot be set.

>
> Many thanks up to now.
>
> regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 18:58:24 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.