[Spacewalk-list] too many open files

Jim Kinney jim.kinney at gtri.gatech.edu
Thu Jun 9 15:33:47 UTC 2011


It was run from the command line. root user ulimit was well over the
1012 open files. It's not an issue with the user it's within spacewalk
as I raised the system open file limit to 35M and removed the user
limits completely.

On 06/09/2011 02:11 AM, Alexander Davidsen wrote:
> Hi Jim, 
> 
> What's the ulimit for the shell executing the repo-sync? Did you run the
> command manually or through the webinterface? 
> 
> On Wed, Jun 8, 2011 at 9:55 PM, Jim Kinney <jim.kinney at gtri.gatech.edu
> <mailto:jim.kinney at gtri.gatech.edu>> wrote:
> 
>     just verify, it fails at EXACTLY 1012 files on each run.
> 
>     On 06/08/2011 03:29 PM, Jim Kinney wrote:
>     > When doing spacewalk-repo-sync (v 1.4 postgres on RHEL6) on a
>     large repo
>     > (fedora14 updates is rather large) the process chokes and gives the
>     > following error through the remaining files in the repo:
>     >
>     > 8657/8666 : rakarrack-0.6.1-4.git47245c3.fc14-0.x86_64
>     > [Errno 24] Too many open files:
>     >
>     '/var/satellite/redhat/1/b04/rakarrack/0.6.1-4.git47245c3.fc14/x86_64/b04953e43be49b96a7d74e2abde115f4265a79b5ac61656db3ce2e1ef8bbb981/rakarrack-0.6.1-4.git47245c3.fc14.x86_64.rpm'
>     >
>     > Swap out the packaged name some 7000+ times :-)
>     >
>     > Seems to occur around 1012 insertions regularly.
>     >
>     > If I rerun it, it gets another 1000 or so and dies the same way.
>     >
>     > I have system max files open set HUGE with no change. from sysctl:
>     > fs.file-max = 25913000
>     >
>     > Is there someplace else I need to look to set spacewalk max files?
> 
>     --
>     Jim Kinney
>     Signature Technologies Lab
>     404-407-7967 <tel:404-407-7967>
> 
>     _______________________________________________
>     Spacewalk-list mailing list
>     Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
>     https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> 
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Jim Kinney
Signature Technologies Lab
404-407-7967




More information about the Spacewalk-list mailing list