Maybe something was wrong?

Started by Legend, Mar 13, 2016, 10:47 PM

0 Members and 1 Guest are viewing this topic.

Legend


the-pi-guy


Legend

The stats page. Look at number of threads made over the past few days.

the-pi-guy

Oooh gotcha.  Probably related to Machine's weird mis-threads, eh?  

Legend

Quote from: the-Pi-guy on Mar 13, 2016, 10:59 PMOooh gotcha.  Probably related to Machine's weird mis-threads, eh?  
Well yes, but the problem was even deeper.

Solved it by brute force.


EDT: nope, not solved...

Xevross

Quote from: Legend on Mar 13, 2016, 11:03 PMWell yes, but the problem was even deeper.

Solved it by brute force.


EDT: nope, not solved...
Do you have any idea about what's causing it?

the-pi-guy

Quote from: Legend on Mar 13, 2016, 11:03 PMWell yes, but the problem was even deeper.
The problem usually is deeper.  

Xevross

Quote from: the-Pi-guy on Mar 13, 2016, 11:08 PMThe problem usually is deeper.  
You know what else is usually deeper?

Legend

Quote from: Xevross on Mar 13, 2016, 11:05 PMDo you have any idea about what's causing it?
Yeah it's solved now, pretty sure.

After creating a post, the server calls the function "trackstats" to log it. This function is stored in a different file, so that file needs to be loaded first. For some reason (seemingly randomly) it wouldn't load the required file in advance. Thus it'd make the post and only encounter an error afterwards. I've been seeing these errors in the error log for months, but I thought they were only possible with machine posts.

Still not sure what the root problem was, but I just forced it to load the file immediately before calling "trackstats."

the-pi-guy

Quote from: Xevross on Mar 13, 2016, 11:10 PMYou know what else is usually deeper?
My national pride?  

Xevross


the-pi-guy

Quote from: Xevross on Mar 13, 2016, 11:32 PMSure. We'll go with that.
The jokes on you!  National pride is a lollipop.  

Xevross

Quote from: the-Pi-guy on Mar 13, 2016, 11:33 PMThe jokes on you!  National pride is a lollipop.  
Makes sense, America is full of dicks.

the-pi-guy

Quote from: Xevross on Mar 13, 2016, 11:34 PMMakes sense, America is full of dicks.
Psh, you love it.  ;)

Xevross