[Rpy] Rtmp* file in /tmp

2009-03-06 Thread laurent oget
We noticed on our production server where we run a lot of rpy scripts,
that /tmp is filling up with Rtmp* files. Anybody knows if there is a
way to get those cleared without involving the sysadmin?

Laurent

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


Re: [Rpy] Rtmp* file in /tmp

2009-03-06 Thread Peter
On Fri, Mar 6, 2009 at 5:01 PM, laurent oget  wrote:
>
> We noticed on our production server where we run a lot of rpy scripts,
> that /tmp is filling up with Rtmp* files. Anybody knows if there is a
> way to get those cleared without involving the sysadmin?

On Linux, the /tmp drive should get cleared out automatically (perhaps
at reboot, which isn't going to happen very often on a production
server?).  On Windows however, the temp files are never deleted and I
recall having to manually clear out hundreds of them by hand every so
often.  I'd been meaning to mention this on the mailing list for some
time, so thank you for the reminder!

It would be great if rpy and rpy2 could "clean up" after themselves.

Peter

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


Re: [Rpy] Rtmp* file in /tmp

2009-03-06 Thread Laurent Gautier
Peter wrote:
> On Fri, Mar 6, 2009 at 5:01 PM, laurent oget  wrote:
>> We noticed on our production server where we run a lot of rpy scripts,
>> that /tmp is filling up with Rtmp* files. Anybody knows if there is a
>> way to get those cleared without involving the sysadmin?
> 
> On Linux, the /tmp drive should get cleared out automatically (perhaps
> at reboot, which isn't going to happen very often on a production
> server?).

The cleaning of the /tmp drive is indeed happening at boot time 
(although this can be configure - it is the case by default on Debian, 
it was not the case on Red Hat few years ago).
Otherwise, on some machines there is a daemon deleting things in /tmp 
whenever too old but that's not a magic bullet.

>  On Windows however, the temp files are never deleted and I
> recall having to manually clear out hundreds of them by hand every so
> often.  I'd been meaning to mention this on the mailing list for some
> time, so thank you for the reminder!
> 
> It would be great if rpy and rpy2 could "clean up" after themselves.

No one tried removing the erroneous comment prefix for
R_CleanTempDir();
in rpy/rinterface/rinterface.c ?




L.


> Peter
> 
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list