Portál AbcLinuxu, 10. května 2025 05:36
Nechávám spouštět složitější skript pomocí cronu každou hodinu souborem v cron.d, po restartu to cca prvních 5-6 hodin jde, ale pak už ne, najednou se služba některé hodiny nespustí kompletně a proces spadne při běhu.
Pokud nechám spuštěné ssh, tak se často stane že po cca 30 minutách nečinnosti ssh spojení spadne samo, to se mi dřív také nestávalo.
Snažil jsem se skript spouštět z konzole, to se spustí vždy. Mám podezření na operační paměť, kterou jsem rozšiřoval z 2GB na 4GB, top mi ukazuje jen 3,5GB, swap nepoužívám. Logy ani dmesg nevypisují vůbec nic divného, je možné nějakým způsobem otestovat stabilitu OS (hlavně ram)?To je proto, že máš 32-bit systém a nemáš v kernelu zapnutou podporu HIGHMEM 64GB.
session required pam_limits.sov souboru /etc/pam.d/cron se zdá že vše funguje normálně.
show memtester Package: memtester Installed-Size: 104 Maintainer: Oliver Kurth @masqmail.cx Architecture: i386 Filename: pool/main/m/memtester/memtester_2.93.1-2_i386.deb Size: 22190 Description: A utility for testing the memory subsystem memtest is a utility for testing the memory subsystem in a computer to determine if it is faulty. # memtest 10M memtest v. 2.93.1 (C) 2000 Charles Cazabon @discworld.dyndns.org Original v.1 (C) 1999 Simon Kirby @stormix.com @neato.org Current limits: RLIMIT_RSS 0xffffffff RLIMIT_VMEM 0xffffffff Raising limits... Allocated 10485760 bytes...trying mlock...success. Starting tests... Testing 10481664 bytes at 0xb73ed000 (4088 bytes lost to page alignment). Run 1: Test 1: Stuck Address: Testing...Passed. Test 2: Random value: Setting...Testing...Passed. Test 3: XOR comparison: Setting...Testing...Passed. Test 4: SUB comparison: Setting...Testing...Passed. Test 5: MUL comparison: Setting...Testing...Passed. Test 6: DIV comparison: Setting...Testing...Passed. Test 7: OR comparison: Setting...Testing...Passed. Test 8: AND comparison: Setting...Testing...Passed. Test 9: Sequential Increment: Setting...Testing...Passed. Test 10: Solid Bits: Testing...Passed. Test 11: Block Sequential: Testing...Passed. Test 12: Checkerboard: Testing...Passed. Test 13: Bit Spread: Testing...Passed. Test 14: Bit Flip: Testing...Passed. Test 15: Walking Ones: Testing...Passed. Test 16: Walking Zeroes: Testing...Passed. Run 1 completed in 22 seconds (0 tests showed errors). Run 2: Test 1: Stuck Address: Testing...Passed. Test 2: Random value: Setting...Testing...Passed. Test 3: XOR comparison: Setting...Testing...Passed. Test 4: SUB comparison: Setting...Testing...Passed. Test 5: MUL comparison: Setting...Testing...Passed. Test 6: DIV comparison: Setting...Testing...Passed. Test 7: OR comparison: Setting...Testing...Passed. Test 8: AND comparison: Setting...Testing...Passed. Test 9: Sequential Increment: Setting...Testing...Passed. Test 10: Solid Bits: Setting... 62 Received signal 2 (Interrupt) munlock'ed memory. 1 runs completed. 0 errors detected. Total runtime: 24 seconds. Exiting...jenom upozorneni, ze zavisi od toho jakou cast pameti jadro namapuje procesu, takovou si pak zamkne. mlock obvykle dokaze zamknout jen polovinu dostupne ram, takze ...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.