2020-04-07, 11:28 PM
Hi All,
I'm having some issues and I'm wondering if someone can help me. It's been a while since I've dove into MyBB much so apologises.
I manage a large form with thousands of posts. The forum runs on an OpenVZ visualised machine on my own node.
A few days ago, started to get 500 Internal Server Errors and the following error when people replied to threads.
When the 500 Internal Server Error appears, I can do nothing in SSH other than login to the node and restart the VPS - the errors I get when inside the SSH for the VPS are "Fork: cannot allocate memory".
So, I did some reading and increased the 'pid' length on the posts table from 10 to 11. This seemed to solve the issue and allow posts to be replied too.
However then it kept crashing with 500 error messages.
Looking around other tables, I changed the pid on various other tables from 10 to 11. This again appeared to have a positive effect.
Now, another error but this time the private messages table.
I've done the following:
Any advise??
*No plugins activated*
I'm having some issues and I'm wondering if someone can help me. It's been a while since I've dove into MyBB much so apologises.
I manage a large form with thousands of posts. The forum runs on an OpenVZ visualised machine on my own node.
A few days ago, started to get 500 Internal Server Errors and the following error when people replied to threads.
SQL Error:
1062 - Duplicate entry '508775' for key 'PRIMARY'
Query:
INSERT INTO mybb_posts (`tid`,`replyto`,`fid`,`subject`,`icon`,`uid`,`username`,`dateline`,`message`,`ipaddress`,`includesig`,`smilieoff`,`visible`) VALUES (9794,310963,20,'RE: SAVED GIFS',0,31,'Duchess',1586203004,'test',X'6422fa4b',1,0,1)
When the 500 Internal Server Error appears, I can do nothing in SSH other than login to the node and restart the VPS - the errors I get when inside the SSH for the VPS are "Fork: cannot allocate memory".
So, I did some reading and increased the 'pid' length on the posts table from 10 to 11. This seemed to solve the issue and allow posts to be replied too.
However then it kept crashing with 500 error messages.
Looking around other tables, I changed the pid on various other tables from 10 to 11. This again appeared to have a positive effect.
Now, another error but this time the private messages table.
SQL Error:
1062 - Duplicate entry '63818' for key 'PRIMARY'
I've done the following:
- Increased pid from 10 to 11 characters.
- Ran rkhunter on server.
- Updated cPanel on the server (forced)
- Updated YUM
- Re-uploaded fresh MyBB 1.8.22 files
Any advise??
*No plugins activated*