Noor Jahan
8th July 2014, 10:21
Hi,
IAm getting EAGAIN error.-11 error while opening a while in write mode
fp=seq.open(filename,"w"),its giving me -11 error.
seq.close also mentioned at the end of the function

bhushanchanda
8th July 2014, 12:02
Return values
>= 1 Success; File pointer returned for use in subsequent operations.
<1 Error; that is, the negative value of the system error (for example, for a permission error, the system returns 13 and the function returns -13, or if the internal table is full, the function returns -EAGAIN).

First check the file permissions and then check the file path. May be its too long and has caused the issue.

Also, it says:-

Description:
This error can indicate that:
The system tries to create another process, but there are no more processes available in the process table.
the user is not allowed to create new processes
Solution:
Increase the NPROCS kernel parameter to allow more processes.

Related threads:-

Thread 1 (http://www.baanboard.com/baanboard/showthread.php?t=48675)
Thread 2 (http://www.baanboard.com/baanboard/showthread.php?t=48273)
Thread 3 (http://www.baanboard.com/baanboard/showthread.php?t=53391)

Noor Jahan
9th July 2014, 08:11
Thanks bhushan.