import error on solaris

A

Atul Kshirsagar

Hello,
I am embedding python in C++ using SWIG.
* The appication runs as a server.
* Mutiple clients send requests which execute some
python scripts with import statements.
* Each request is handled in a separate thread which
has its own interepreter for script execution.
* Requests are succesfully completed fine for some
time and then I see some "ImportErrors" for example
"ImportError: No module named string"

Apart from these python replated errors I see some
"too many files open" errors in my other server code.

Other than solaris things work fine on other unix
platforms and windos too. One additional thing I do
for solaris is
"import DLFCN; sys.setdlopenflags(DLFCN.RTLD_NOW |
DLFCN.RTLD_PARENT);"

One of my question is, is importing some module create
a file handle ?

Any help on this is appreciated.

Thanks,
Atul Kshirsagar


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,241
Messages
2,571,223
Members
47,858
Latest member
SangC9100

Latest Threads

Top