Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2008
Faiz.Usmani Faiz.Usmani is offline
Registered User
 
Name: Faiz Usmani
Organization: Techvoyant
Project: N-Tiering
 
Join Date: Feb 2008
Posts: 8
SysCall Exception encoutered !!

We are using an Ice PHP client to connect to our business logic in C++ . This PHP code is resident in an Apache server and the Ice Server is a C++ Ice service . On the client while accessing PHP pages, sometimes we get an error -

"Fatal error: Uncaught Ice_UnknownLocalException Network.cpp:933: Ice::SyscallException: syscall exception: Too many open files" .

We are using Ice-3.2.1 on Red Hat Linux - Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) (from /proc/version :-) ) .

Our suspicion was that the client was not able to open a socket and that is when we got that error . On checking each of the httpd processes on the system we found that not even one of them was surpassing the 1024 limit (revealed through 'ulimit -a').
Any help or suggestions in thi direction would be valued.

Regards
Faiz
Reply With Quote
  #2 (permalink)  
Old 02-26-2008
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
You should check the server, not the client. This exception is raised somewhere in the server (in an operation called by the client), but it is not handled there, so it is transferred as an "UnknownLocalException" to the client. Try to set the property Ice.Warn.Dispatch=1 in your server for more information. See this manual page for more information: http://www.zeroc.com/doc/Ice-3.2.1/m...pRef.50.3.html
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have IceUtil::Exception inherit from std::exception? bpolivka Comments 2 12-13-2006 11:52 AM
thread syscall exception: xdm Help Center 2 02-04-2006 05:16 PM
Syscall exception when trying to start IcePackNode server Nis Baggesen Help Center 10 02-16-2005 09:44 AM
Syscall exception on Win2K using IcePack.Node.Output brian Help Center 13 08-12-2004 06:31 PM


All times are GMT -4. The time now is 07:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.