atd doesn't increase limit load factor on smp systems (upstart)
Bug #527723 reported by
H.-Dirk Schmitt
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at (Debian) |
New
|
Unknown
|
|||
at (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: at
The old /etc/init.d/atd includes the following code:
# Arguments to atd
#
if uname -v |grep -q SMP >/dev/null
then
# more as 1 CPU
ARGS="-l 4.0"
else
ARGS="-l 2.0"
fi
This is totally missing in the upstart job.
As consequence is atd running with the default load limit 1.5 since the migration to upstart.
Changed in at (Debian): | |
status: | Unknown → New |
tags: | added: precise |
To post a comment you must log in.
Changing the upstart job to the following will fix the issue {cpu++} END{load= cpu-0.4; if (cpu < 2) load=1.5; print load;}' /proc/cpuinfo)
exec atd -l $(awk '/^processor/