Am 02.08.2016 um 14:24 schrieb Stefan Ulm <s....@divus.biz>: > Hi all, > > we are actually facing problems with logging. > > We do a volatile (non persistent) full logging for analysis on a > installation. After 33 days of logging we have a logging file of ca. 5MB and > ca. 50.000 lines. > A week ago the logging stopped, the log file is no more actualized, now for 7 > days. > > Today we tried to reload and restart asterisk, but the problem persists. > So we suspected, that the probably there is a memory/buffer problem. The > device has still the problem and we would like to understand the cause for > it, before we restart it. > > Can it be that there is a dedicated memory buffer for logging, and if this > one is filled up, the logging doesn’t work anymore or could it be, that > asterisk can’t handle log files with that size? > > We are using alix board with astlinux 1.0.2 (asterisk 1.8.9.2), runnix > 0.4-5339 > > > Best regards > > Stefan Ulm > Technical Department | Research & Development > stefan....@divus.eu
Run "df -h" to see how much space is currently used. You can adjust the "tmp" and "var" size with rc.conf variables: ## Custom tmpfs sizes ## here is where you can increase or decrease the size of the various ## tmpfs filesystems. If you set these too large, it is possible for ## the system to use all available RAM, in which case the Linux kernel ## will start randomly killing processes to free up memory. You have ## been warned! #VAR_SIZE="25000k" #TMP_SIZE="10000k" In newer AstLinux (since 1.1.3) versions "logrotate" is included. Your AstLinux version is quite old (from 2012). At that time the default "var" size was 5 MB. In version 1.0.5 it was increased to 10MB. Michael http://www.mksolutions.info ------------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.