Notifications
Clear all

Nginx Server Crash Or VIrtualmin Crash

9 Posts
2 Users
0 Reactions
21 Views
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  

I am having a php mail() which causes crash to the whole server, for a moment unable to access virtualmin, shell access, public_html pages, the whole server goes down, after some time all works fine. How to figure out what is causing such huge problem to crash the server


   
Quote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

Best way to find out what's going on is by checking your server logs. They are in following directory.

/var/log

 


   
ReplyQuote
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  

there are lots of logs, which log to check for the server crash, below two lines are from syslog, are they causing the crash or have to check all the logs 

Nov 26 23:28:25 www named[1459]: network unreachable resolving 'no-reverse-dns-configured.com/DS/IN': 2001:503:d414::30#53
Nov 26 23:28:25 www named[1459]: network unreachable resolving 'no-reverse-dns-configured.com/DS/IN': 2001:502:1ca1::30#53

   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

Go through syslog and look for errors. Low memory is a common cause for crashes. Look for memory related lines. Also look at the Virtualmin logs directory for clues.


   
ReplyQuote
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  

syslog, found but clamscan is disabled from server>bootup & shutdown section webmin

Nov 27 12:20:54 www kernel: [1241277.478711] Out of memory: Kill process 32211 (clamscan) score 355 or sacrifice child
Nov 27 12:20:54 www kernel: [1241277.484350] Killed process 32211 (clamscan) total-vm:605896kB, anon-rss:454048kB, file-rss:1548kB

   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

clamscan us used by maldet for real-time protection. How much RAM does your server has?


   
ReplyQuote
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  

1Gb Ram 260 mb swap memory


   
ReplyQuote
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  

171 process running 1 Gb Ram 260mb swap memory,

processor Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz, 1 cores

CPU load averages0.49 (1 min) 0.40 (5 mins) 0.94 (15 mins)

   
ReplyQuote
(@Anonymous 688)
Active Member
Joined: 6 years ago
Posts: 14
Topic starter  
Killed
Virus scanner failed to response within 30 seconds
From MAILER-DAEMON Tue Nov 27 15:33:07 2018
Subject: Undelivered Mail Returned to Sender

procmail.log file, how to solve this error


   
ReplyQuote
Share:
Back to top button