Skip to contentSkip to conversation

Problem: copy_thread : pipe failed, err = 24

uml-devel Sebastian Wiesinger 2 participants 3 messages Feb 20, 2004 – Feb 27, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hello,

I'm using a host system with 9 UML boxes and keep getting the error

copy_thread : pipe failed, err = 24

This error appears first after a few hours of running and the boxes with this error is no longer reachable. The following other errors also appear:

flush_thread : new thread failed, errno = 1
copy_thread : clone failed - errno = 11
copy_thread : clone failed - errno = 1
copy_thread : clone failed - errno = 1

I used the 2.4.24 UML Patch with a new 2.4.25 Kernel wich applied without errors.

Any suggestions?

Sebastian

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw

Alle 10:26, venerdì 20 febbraio 2004, Sebastian Wiesinger ha scritto:

Quoted 5 lines

Hello,

I'm using a host system with 9 UML boxes and keep getting the error

copy_thread : pipe failed, err = 24

This is EMFILE. Either you "ulimit"ed your UML's (and one UML needs a lot of filehandles) or you need to increase the filehandle limit where it is happening.

Quoted 2 lines

This error appears first after a few hours of running and the boxes with this error is no longer reachable.

*Very* strange. If you mean that you can no longer login / do anything that needs to create a new process inside UML, I understand it. Otherwise, there is something strange. Please try to watch how many open files UML has (ls /proc/<Umlpid>/fd is your friend) and increase filehandles and process limits (read man proc and search about /proc/sys/kernel for this).

Quoted 7 lines

The following other errors
also appear:

flush_thread : new thread failed, errno = 1
copy_thread : clone failed - errno = 11
copy_thread : clone failed - errno = 1
copy_thread : clone failed - errno = 1

EPERM (very strange) and EAGAIN (too many processes running). Checking the source for sys_clone could be needed to diagnose EPERM (unless you have something as GrSecurity active).

Signature · 14 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&opÌk
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#2 lore raw
Quoted 5 lines · BlaisorBlade
Quoted 1 line

copy_thread : pipe failed, err = 24

This is EMFILE. Either you "ulimit"ed your UML's (and one UML needs a lot of filehandles) or you need to increase the filehandle limit where it is happening.

Yes, it was the ulimit, I increased the file handles now

Quoted 5 lines
Quoted 2 lines

This error appears first after a few hours of running and the boxes with this error is no longer reachable.

*Very* strange. If you mean that you can no longer login / do anything that needs to create a new process inside UML, I understand it.

Yes, that's the problem. :)

Quoted 11 lines
Quoted 7 lines

The following other errors
also appear:

flush_thread : new thread failed, errno = 1
copy_thread : clone failed - errno = 11
copy_thread : clone failed - errno = 1
copy_thread : clone failed - errno = 1

EPERM (very strange) and EAGAIN (too many processes running). Checking the source for sys_clone could be needed to diagnose EPERM (unless you have something as GrSecurity active).

No, vanilla 2.4.25 Kernel.

Greetings, Sebastian

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel