Getting rid of tmp files

Discussion in 'Ruby' started by Timasmith, Jan 24, 2007.

  1. Timasmith

    Timasmith Guest

    Hi,

    I have ruby running its little web server, ruby script/server
    -<environment>

    but I notice that it generates a ton of little files under tmp

    e.g.

    ruby_sess.0a1d5e8a75c64e2f

    for every session I guess, how can I stop the creation of these files
    which are chewing my disk.

    thanks
    Timasmith, Jan 24, 2007
    #1
    1. Advertising

  2. Timasmith

    Eric Hodel Guest

    On Jan 23, 2007, at 20:15, Timasmith wrote:

    > Hi,
    >
    > I have ruby running its little web server, ruby script/server
    > -<environment>
    >
    > but I notice that it generates a ton of little files under tmp
    >
    > e.g.
    >
    > ruby_sess.0a1d5e8a75c64e2f
    >
    > for every session I guess, how can I stop the creation of these files
    > which are chewing my disk.


    script/server is a railsism, so I'm presuming this is a Rails-related
    question. You'll find the answer over on the Rails mailing list.

    --
    Eric Hodel - - http://blog.segment7.net

    I LIT YOUR GEM ON FIRE!
    Eric Hodel, Jan 24, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    11,020
    I82Much
    Jun 3, 2009
  2. Jeff
    Replies:
    3
    Views:
    435
    Juan T. Llibre
    Oct 17, 2006
  3. Replies:
    5
    Views:
    321
    Julian V. Noble
    Oct 29, 2006
  4. mc
    Replies:
    2
    Views:
    630
  5. Jo Oberman

    Deleting tmp-files of CGI.pm upload()

    Jo Oberman, Nov 30, 2003, in forum: Perl Misc
    Replies:
    8
    Views:
    441
    Randy Kobes
    Dec 1, 2003
Loading...

Share This Page