Site performance, Server errors, outages and tunings - Printable Version +- Like Ra's Naughty Forum (https://www.likera.com/forum/mybb) +-- Forum: Technical section (https://www.likera.com/forum/mybb/Forum-Technical-section) +--- Forum: Site (https://www.likera.com/forum/mybb/Forum-Site) +--- Thread: Site performance, Server errors, outages and tunings (/Thread-Site-performance-Server-errors-outages-and-tunings) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
RE: Site performance, Server errors, outages and tunings - Like Ra - 24 Nov 2013 Tried more tweaks. Interesting, that WP DB cache did not improve anything, but quite the opposite it constantly increases CPU load. I wonder if zram helps with RAM shortage. Let's see in a couple of days. RE: Site performance, Server errors, outages and tunings - Like Ra - 27 Nov 2013 Finally... After years of troubleshooting, testing and trying to understand why the heck the database is writing gigabytes(!) to disks I finally nailed it. SQL logs, SQL analysis, plugin analysis and here we go! An innocent looking plugin for wordpress that adds pagination... Hundreds DB deletes/inserts per minute! Oh my... Tweaked the plugin, now the CPU, disk I/O rate gone down significantly, and DB cache hits increased to 70%. Just a couple of lines of PHP code... BTW, I think this is why the site was banned many times by the previous provider. Yes, I learn, I do learn... RE: Site performance, Server errors, outages and tunings - Like Ra - 28 Nov 2013 Next step is to update the WP (Blog) theme so it's compatible with the latest WordPress API and HTML5. More work, but it needs to be done anyway... RE: Site performance, Server errors, outages and tunings - Like Ra - 29 Nov 2013 And another breakthrough - I rewrote some scripts so now they work asynchronously after the page has loaded. The result is a further 50% speed up and increase in the Google and Yahoo speed grades. Now I need to move the Google Analytics script in the same "area", because it takes too much time to load (about 05.sec)... Actually, I have an idea... RE: Site performance, Server errors, outages and tunings - Like Ra - 05 Dec 2013 Yarrggghhh.. another @#$%^&* ripper DOSed the site. Unfortunately I noticed too late. Blocked... RE: Site performance, Server errors, outages and tunings - Like Ra - 05 Dec 2013 One good thing is that the huge load did not overload Apache/PHP/MySQL. Looks like I've done a good job ;P BTW, is there something going on in the Internet between Europe and US? I see a significant packet loss. Or is it my provider? RE: Site performance, Server errors, outages and tunings - B1u3 - 06 Dec 2013 Its the NSA 😉 Besides, sometimes in the overview of threads inside a subforum, if there's a new answer in a thread there which I didn't read yet, there is a small thingie saying things like "2 new posts!". But this doesn't work always, only sometimes. Did you notice that? RE: Site performance, Server errors, outages and tunings - Like Ra - 06 Dec 2013 (06 Dec 2013, 09:49 )B1u3 Wrote: Its the NSAI think they have finally tapped the cable because the connectivity restored 😁 (06 Dec 2013, 09:49 )B1u3 Wrote: But this doesn't work always, only sometimes.Dunno how this plugin works, need to investigate... Does it correlate with "View Unread Posts" above, BTW? RE: Site performance, Server errors, outages and tunings - Like Ra - 06 Dec 2013 I'm still redesigning the blog theme (mostly internally). So you may see broken design or "the white screen of death". WordPress introduced some interesting features I would like to implement. Then I'm going to replace the menu system. RE: Site performance, Server errors, outages and tunings - B1u3 - 06 Dec 2013 Quote:(06 Dec 2013, 09:49 )B1u3 Wrote: But this doesn't work always, only sometimes.Dunno how this plugin works, need to investigate... Does it correlate with "View Unread Posts" above, BTW? Hm, didn't check that. Normally I don't use this function, "View unread Posts". I just go to the main overview, open the subforums which are marked something happened there and then the threads. |