My /proc/meminfo does not display (any more) the two lines starting respectively with "mem:" and "swap:" (is it because I run latest 2.5.44 kernel?) cat /proc/info MemTotal: 127412 kB MemFree: 81872 kB MemShared: 0 kB Buffers: 8896 kB Cached: 27992 kB SwapCached: 0 kB Active: 29080 kB Inactive: 10032 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 127412 kB LowFree: 81872 kB SwapTotal: 524152 kB SwapFree: 524152 kB Dirty: 0 kB Writeback: 0 kB Mapped: 5084 kB Slab: 5080 kB Committed_AS: 9856 kB PageTables: 192 kB ReverseMaps: 2972 gentoo-stats relies on these lines instead of those starting with MemTotal and SwapTotal. Even with SUBMIT_MEMORY set to "no" in my gentoo-stats.conf, the server keeps rejecting my updates: ...Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error...java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:344) at java.lang.Long.parseLong(Long.java:381) at org.gentoo.stats.StatsServlet.processMemTotal(StatsServlet.java:782) ...
This has been fixed both server-side and client-side (gentoo-stats-0.3.2). Thanks for reporting this bug!