Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: my CUPS Filter can't be forked by CUPS sometimes.



I have some update on this issue. It is not merely happening with myFilter
but even with the pictwpstops filter also. The error string in this case
also is the same. It is " Can't fork /usr/libexec/cups/filter/pictwpstops :
resource temporarily unavailable" after some 100 calls to pictwpstops.
The printer status changes to stopped.
When I change to another printer as the default printer and work with it I
can again run for approximately 100 calls to pictwpstops. Any Idea what is
wrong with my application or the system.

In my previous mail the path for filter was wrong. Sorry for that.

The environment is :
1. Mac OS 10.3
2. CUPS version is the one that comes with the installer of Mac OS
10.3



-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Sanjay Mishra
Sent: Wednesday, March 03, 2004 10:28 AM
To: email@hidden
Subject: my CUPS Filter can't be forked by CUPS sometimes.


Hi All,
I am new to CUPS Filter writing.
I am facing a problem in CUPS. CUPS gives error as " Can't fork
/usr/libexec/filter/myFilter : resource temporarily unavailable" after some
100 calls to myFilter.
What could be reason for this ? Do I need to handle this in myFilter ?
I have already tested the following :
1. There is no memory leaks in myFIlter.
2. myFilter does fork to do some job but waits for its completion
before it terminates.
Regards,
Sanjay Mishra
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.