DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-03-24 23:20:30

SweMart
Member
From: Stockholm, Sweden
Registered: 2008-03-18
Posts: 14

Proftpd prevents HD sleep

Hi,

I've compiled proftpd for the DNS-323 in order to provide SSL/TLS enabled FTP transfers. Everything works ok except that it prevents the HD going into sleep mode.

I've run a strace on the process and the only thing that it does is lstat() on some really small files it creates in /etc and /var/log, i.e. files not located on the hard drive. Will this prevent the HD sleep?

Is there some other way for force the drives to spin down?

Cheers,
Martin

Edit: Running 1.04 + Fonz fun_plug 0.5(running lighttpd), HD sleep works until I start the proftpd daemon

Last edited by SweMart (2008-03-25 00:57:25)

Offline

 

#2 2008-06-25 15:43:18

dan.crouthamel
Member
Registered: 2007-08-23
Posts: 43

Re: Proftpd prevents HD sleep

SweMart wrote:

Hi,

I've compiled proftpd for the DNS-323 in order to provide SSL/TLS enabled FTP transfers. Everything works ok except that it prevents the HD going into sleep mode.

I've run a strace on the process and the only thing that it does is lstat() on some really small files it creates in /etc and /var/log, i.e. files not located on the hard drive. Will this prevent the HD sleep?

Is there some other way for force the drives to spin down?

Cheers,
Martin

Edit: Running 1.04 + Fonz fun_plug 0.5(running lighttpd), HD sleep works until I start the proftpd daemon

I'm curious to know if an answer has been found for this? smile

Offline

 

#3 2008-06-25 16:03:02

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: Proftpd prevents HD sleep

how much memory does proftpd consume (do top)... maybe it uses too much so swapping occurs...

#cat /proc/swaps
and chk the output

also, try lsof instead of strace..

hope it helps!


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB