Problems writing to file

B

Bernard Lebel

Hello,

I have this strange problem. I have written a program that writes a
log to a log file.

To start the program (I'm on Linux Fedora Core 3), I used a service.
This service runs a bash file, wich in turn runs the Python top
program file.

Sooner or later the program stops writing to the log file. I have
absolutely no clue why would that happen. Since the output of the
Python program is not redirected other than to this log file, I have
no idea why it's doing this. But the Python process appears still
alive and well!

But the strange thing is that if I run the program directly from a
bash shell, no problem whatsoever, the programs runs smoothly and
never stops writing to the file, until I kill it.


Any suggestion?



Thanks in advance
Bernard
 

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

Forum statistics

Threads
474,291
Messages
2,571,453
Members
48,131
Latest member
KatlynC08

Latest Threads

Top