#1170 sessiondb.pag constantly rewritten

1.090
closed
Jamie Cameron
None
2
2003-06-14
2003-06-11
Simon Berg
No

I noticed that my harddisk would no longer spin down
after upgrading from webmin 1.030 to 1.090.
I ran strace on miniserv.pl and found out that webmin
rewrites the contents of /var/run/sessiondb.pag every
ten seconds.

I'm not much of a perl hacker, but still I was happy
enough to I find the string 'sessiondb' in miniserv.pl.

Disabling session authentication under 'Webmin
Configuration > Authentication' lets the disk spin down
again.

So, maybe this behaviour is by design. But since I've
been using session authentication in 1.030 without any
problems, this might also be a minor bug.

Thanks for your time,

Simon

Discussion

  • Simon Berg
    Simon Berg
    2003-06-11

    • priority: 5 --> 2
     
  • Simon Berg
    Simon Berg
    2003-06-11

    Logged In: YES
    user_id=593043

    ...of course I wanted to report that I'm running on Debian
    woody.

     
  • Jamie Cameron
    Jamie Cameron
    2003-06-14

    Logged In: YES
    user_id=129364

    Webmin has always done this, as it needs to update that file
    to indicate
    when a session was last used so that inactive sessions can
    be timed out. The next release will not do this unless
    inactive session tracking is turned on those, which should
    help in your situation (assuming you also have
    logging turned off)

    Thanks for the suggestion!

     
  • Jamie Cameron
    Jamie Cameron
    2003-06-14

    • assigned_to: nobody --> jcameron
    • status: open --> closed