Skip to Content.
Sympa Menu

shibboleth-dev - Listener shutdown after memory problem

Subject: Shibboleth Developers

List archive

Listener shutdown after memory problem


Chronological Thread 
  • From: giacomo tenaglia <>
  • To:
  • Subject: Listener shutdown after memory problem
  • Date: Tue, 26 Aug 2008 17:58:50 +0200

Hi,
I've experienced some shibd crashes (2.0, RHES4, 32bits), all of them
looks like this:

2008-08-15 00:48:41 ERROR XMLTooling.Threads : pthread_create error (12):
Cannot allocate memory
2008-08-15 00:48:41 CRIT Shibboleth.Listener : error starting new server
thread to service incoming request
2008-08-15 00:48:41 INFO Shibboleth.Listener : listener service shutting down

and then shibd is shut down and I have to restart it by hand. Sometimes
the process doesn't exit and I have to SIGKILL it.

I have a couple of questions:
- have you ever heard of similar problems? I'm using an ODBC SS and
everything has worked fine from april to mid-august. Nothing was
touched in the configuration. I remember of André Cruz reporting some
memory investigations.
- don't you think it's better not to shutdown completely shibd in that
case? Maybe the catch() on line 244 of SocketListener.cpp should be
"refined" a bit to just try another time the select() or not to exit
on memory problems (actually I don't know how this is handled in other
select()-using daemons).

Thank you,
giacomo

--
giacomo tenaglia
Technical Student at CERN IT/DES-SIS
CNR Biblioteca d'Area di Bologna - http://biblio.bo.cnr.it
Phone +41 76 5003376 -
sip:



Archive powered by MHonArc 2.6.16.

Top of Page