Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a wget https://url request that i want to launch from a daemon started from /etc/init.d

If launched from /etc/init.d, it will take approximately 10 times longer than if i launch it from a console.

I checked with time(1) and the difference is only in real: not in user or sys I tried to renice the process, but this does not change anything. I checked ulimit settings, and they are identical

Are there any process limits active during startup, that differ from those of interactive login sessions?

Anyone seen something similar? Could it have anything to do with PREEMPTION?

share|improve this question
    
is it started before networking comes up? –  Mike Apr 11 '12 at 12:54
    
no, wget is not called immediately during startup, but later, when the daemon reads a value from the device. –  arved Apr 11 '12 at 12:58

1 Answer 1

up vote 0 down vote accepted

It turned out, that this strange behaviour is gone if i remove the -U option from wget. No idea what made wget behave so strange.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.