Akka
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
February 11, 2013, 08:06:57 PM |
|
Connection Problems Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. Only for a few seconds though.
|
All previous versions of currency will no longer be supported as of this update
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5390
Merit: 13427
|
|
February 11, 2013, 08:15:14 PM |
|
Yeah, I restarted the database so I can maybe see what's happening.
It looks like there's more than enough free memory. free reports 1250 MB free memory minus buffers, and smem gives similar stats. But for some reason Linux uses swap a lot (causing slowness) and occasionally the OOM killer kills php-fpm processes (causing 502 errors), so I guess there isn't actually enough memory. Anyone know what might be causing this?
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
February 11, 2013, 08:43:24 PM Last edit: February 11, 2013, 08:59:24 PM by paraipan |
|
Yeah, I restarted the database so I can maybe see what's happening.
It looks like there's more than enough free memory. free reports 1250 MB free memory minus buffers, and smem gives similar stats. But for some reason Linux uses swap a lot (causing slowness) and occasionally the OOM killer kills php-fpm processes (causing 502 errors), so I guess there isn't actually enough memory. Anyone know what might be causing this?
Try mysqltuner theymos, you may have improper size buffers set. After that just install memcached, method is different depending on the OS, and enable the option in the SMF admin area. Mysql will be more than grateful after that
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5390
Merit: 13427
|
|
February 11, 2013, 11:14:42 PM |
|
I'm already using that.
I may have improved the situation by decreasing the maximum amount of memory that php-fpm and mysql can use.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
dree12
Legendary
Offline
Activity: 1246
Merit: 1078
|
|
February 11, 2013, 11:17:50 PM |
|
I'm already using that.
I may have improved the situation by decreasing the maximum amount of memory that php-fpm and mysql can use.
Why not just install more memory with the forum's funds?
|
|
|
|
cedivad
Legendary
Offline
Activity: 1176
Merit: 1001
|
|
February 11, 2013, 11:27:30 PM |
|
A properly configured 100€/month ovh server would fit whatever load this website has... Please admin, give us something we can build a currency on.
|
My anger against what is wrong in the Bitcoin community is productive: Bitcointa.lk - Replace "Bitcointalk.org" with "Bitcointa.lk" in this url to see how this page looks like on a proper forum (Announcement Thread)Hashfast.org - Wiki for screwed customers
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
February 11, 2013, 11:43:09 PM |
|
I'm already using that.
I may have improved the situation by decreasing the maximum amount of memory that php-fpm and mysql can use.
Got it
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
greyhawk
|
|
February 12, 2013, 08:03:44 PM |
|
502s again from 21:01 to 21:02 CET
|
|
|
|
Akka
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
February 12, 2013, 08:04:15 PM |
|
502s again from 21:01 to 21:02 CET
Me too.
|
All previous versions of currency will no longer be supported as of this update
|
|
|
Phinnaeus Gage
Legendary
Offline
Activity: 1918
Merit: 1570
Bitcoin: An Idea Worth Spending
|
|
February 13, 2013, 12:05:46 AM |
|
Another 502 about 30 seconds ago.
|
|
|
|
Maged
Legendary
Offline
Activity: 1204
Merit: 1015
|
|
February 13, 2013, 03:17:22 AM |
|
502
|
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5390
Merit: 13427
|
|
February 13, 2013, 03:21:44 AM |
|
Strangely enough I have only ever gotten one 502 in the last few days. What browsers are you all using?
I'm going to find some way of upgrading the hardware. There's probably some way to get more performance out of this hardware, but I don't know how.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
21after2
Member
Offline
Activity: 112
Merit: 16
|
|
February 13, 2013, 03:36:27 AM |
|
I experienced a lot of 502 errors about 2-3 days ago, but since then I've had a perfectly fine connection. Maybe even quicker than usual, though it may just seem that way since it was loading pretty damn slow during those couple days.
|
|
|
|
theymos (OP)
Administrator
Legendary
Offline
Activity: 5390
Merit: 13427
|
|
February 13, 2013, 04:01:35 AM |
|
The error log has too many trivial errors. I wasn't able to immediately find the 502s. I may look into it more later.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
repentance
|
|
February 13, 2013, 04:37:07 AM |
|
Strangely enough I have only ever gotten one 502 in the last few days. What browsers are you all using?
I'm going to find some way of upgrading the hardware. There's probably some way to get more performance out of this hardware, but I don't know how.
Chrome Version 24.0.1312.57 m with Win 7. I have the most problem with errors between about 1900 and 2200 UTC but the forum is often very laggy during the day my time (which is overnight UTC).
|
All I can say is that this is Bitcoin. I don't believe it until I see six confirmations.
|
|
|
greyhawk
|
|
February 13, 2013, 09:47:49 AM |
|
Strangely enough I have only ever gotten one 502 in the last few days. What browsers are you all using?
Chrome 24.0.1312.57 on Win7 Home Premium SP1 Chrome 18.0.1025469 on Android 4.2.1 GNex Build JOP40D When the 502 problem appears, it's on both devices.
|
|
|
|
cedivad
Legendary
Offline
Activity: 1176
Merit: 1001
|
|
February 13, 2013, 10:07:14 AM |
|
I'm going to find some way of upgrading the hardware. There's probably some way to get more performance out of this hardware, but I don't know how. If you tell us everything you know i would be happy to help. And yes, upgrading the hardware is certainly the right thing to do. The error log has too many trivial errors. I wasn't able to immediately find the 502s. I may look into it more later.
Most probably the 502s are caused by the php-fpm daemon, you won't find a lot of info on nginx/logs/error.log, it will just say "your php-fpm sucks".
|
My anger against what is wrong in the Bitcoin community is productive: Bitcointa.lk - Replace "Bitcointalk.org" with "Bitcointa.lk" in this url to see how this page looks like on a proper forum (Announcement Thread)Hashfast.org - Wiki for screwed customers
|
|
|
greyhawk
|
|
February 13, 2013, 02:17:51 PM |
|
502s again at 15:15 CET on IE 8.0.7601.17514 (don't judge ) / Windows 7 Enterprise SP1
|
|
|
|
Akka
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
February 13, 2013, 02:35:37 PM |
|
502s again at 15:15 CET on IE 8.0.7601.17514 (don't judge ) / Windows 7 Enterprise SP1 That's interesting. I have none. Yesterday I had some during the same time as you with my normal connection (from Germany) Today US proxy and none. Probably just coincidence.
|
All previous versions of currency will no longer be supported as of this update
|
|
|
greyhawk
|
|
February 13, 2013, 02:45:34 PM |
|
I don't think it's connection related. I'm connected via X-WiN/GÉANT 2/Internet2 right now.
|
|
|
|
|