Skip Menu |

This queue is for tickets about the svk CPAN distribution.

Report information
The Basics
Id: 37903
Status: resolved
Priority: 0/
Queue: svk

People
Owner: Nobody in particular
Requestors: emil [...] wikia-inc.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: svk smerge failes with 'Too many open files' error
Date: Thu, 24 Jul 2008 14:21:13 +0200
To: bug-svk [...] rt.cpan.org
From: "Emil Podlaszewski" <emil [...] wikia-inc.com>
Running a command: SVKRESOLVE=t svk smerge -m 'Wikia code over MW 1.12.0' -B //mirror/wikia/branches/mw-1.13-upgrade //local/mw-1.13-upgrade fails with a following error: Too many open files: Nie można otworzyć pliku '/tmp/svk-new-tN6zp.tmp': Too many open files Note that 'Nie można otworzyć pliku' means 'Cannot open a file' in English. I've already increased file-max kernel variable but it didn't help: emil@dev01:~$ cat /proc/sys/fs/file-max 500000 strace log can be downloaded from http://ws1.poz.wikia-inc.com/~emil/svk.trace.gz (7.6M) My system is: emil@dev01:~$ lsb_release -d Description: Ubuntu 8.04.1 emil@dev01:~$ uname -a Linux dev01 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux emil@dev01:~$ svk --version This is svk, version v2.0.1 (using Subversion bindings 1.4.6) emil@dev01:~$ perl --version This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Regards, Emil
From: emil [...] wikia-inc.com
Solved. It appeared to be an Ubuntu setup issue. Although /proc/sys/fs/file-max was set very high 'ulimit -n' showed only 1024. After increasing it to a higher value via /etc/security/limits.conf SVK smerge command passed smoothly. The ticket can be closed. Regards, Emil On Czw. 24 Lip. 2008, 08:21:42, emil@wikia-inc.com wrote: Show quoted text
> Running a command: > SVKRESOLVE=t svk smerge -m 'Wikia code over MW 1.12.0' -B > //mirror/wikia/branches/mw-1.13-upgrade //local/mw-1.13-upgrade > > fails with a following error: > Too many open files: Nie można otworzyć pliku
'/tmp/svk-new-tN6zp.tmp': Too Show quoted text
> many open files > > Note that 'Nie można otworzyć pliku' means 'Cannot open a file' in
English. Show quoted text
> > > I've already increased file-max kernel variable but it didn't help: > emil@dev01:~$ cat /proc/sys/fs/file-max > 500000 > > strace log can be downloaded from > http://ws1.poz.wikia-inc.com/~emil/svk.trace.gz (7.6M) > > > My system is: > > emil@dev01:~$ lsb_release -d > Description: Ubuntu 8.04.1 > > emil@dev01:~$ uname -a > Linux dev01 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 > GNU/Linux > > emil@dev01:~$ svk --version > This is svk, version v2.0.1 (using Subversion bindings 1.4.6) > > emil@dev01:~$ perl --version > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > > > Regards, > Emil
Submitter solved via increasing the file-max number via /etc/security/lmits.conf (Ubuntu)