[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364238: marked as done (swapd: not working if no real swap in system)



Your message dated Wed, 1 Sep 2010 15:36:06 +0200
with message-id <20100901133606.GJ12469@melusine.alphascorpii.net>
and subject line Package got removed
has caused the Debian Bug report #364238,
regarding swapd: not working if no real swap in system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
364238: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364238
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: swapd
Version: 0.2-10
Severity: important


line:
unsigned long kswaps = 0;

in swapd.c
should be:
long kswaps = 0;

or other changes made.

currently swapd is not working at all if there is no other swap in the system.

it is because of these lines:
      kswaps = usedswaps();                                                                             
      if (mem < memlimit && (!maxswaps || kswaps < maxswaps)) {

usedswaps returns -1 (there is no other swap at start) which is converted to
huge unsigned value and compared to small one.

Artur Górniak


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages swapd depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.2-11+rm

Hi!

As the package got removed from the archive (Please see
http://bugs.debian.org/595091 for details) I hereby close these bug
report.

Best Regards,
  Alexander


--- End Message ---

Reply to: