-
Posts
4,239 -
Joined
-
Last visited
-
Days Won
8
rct2·com last won the day on May 8 2014
rct2·com had the most liked content!
Contact Methods
- Website URL
Profile Information
-
Gender
Male
-
Location
192.168.1.37/ipb346upgrade
-
Interests
I've been a user of IP.Board since v1.0 [when it was free!], following Matt Mecham away from his previous bulletin board project, when we both became disillusioned with it. Him as a developer, me as an end user!
I own licenses for IP.Board, IP.Downloads, IP.Blog, IP.Gallery and IP.Content, although I'm not using them all at the moment!
I prefer to use my board only with mods that require no source code edits. I have written mods that use both the old '?act=' and '?module=' methods. I've not developed any mods that use the component model.
I tend to be very active on forums when new versions of IP.Board are out for beta test, and/or just after official release. I'm most active on the official peer-to-peer support forums, and customer resources forums, where I have a few [HOWTO] articles published. I was the author of the [unfinished] skinning guide that appeared on the official Invision site for v2.0 of the board, and was a beta tester for IP.Downloads.
I am an IT Project Manager [PRINCE2®] currently working in the Financial Services industry. I'm self-taught in Linux and run a dedicated Linux/Apache/PHP/MySQL server to host over 20 sites, 2 of which use IP.Board.
If you are happy with the help I gave you with Invision Power Board, please click here to say thank you.
If you're a modder and can help me, then please reply to this topic and/or this topic
Spam, Spam, Spam, Spam,
Spam, Spam, Spam, Spam,
Loverly Spam
And Monty Python's Flying Circus
Recent Profile Visitors
44,645 profile views
rct2·com's Achievements
-
If there is a custom profile group, but the user has no fields set in that group, will 3.1.0 realise this, and NOT show that group as 'empty' in a user profile, like it does in 3.0.4? Also will 3.1.0 allow custom profile groups and all the settings to EXPORTED and IMPORTED in AdminCP (perhaps when IN_DEV = 1). That would be very useful. The features now to read/write custom profile fields by referring to them by name rather than number mean that they (custom profile fields) are now as much a part of mods as skins, hooks, languages, etc. , yet they cannot be exported and made part of an installation (in any way I can find).
-
[quote name='rct2
-
my.cnf
-
I have an unmanaged dedicated server running PLESK on top of CentOS 5. PLESK is often 'warranted' only on versions of PHP and MySQL several versions behind the curve. To get around this, I use atomicrocket repositories. http://www.atomicorp.com/channels/atomic/centos/5/i386/ . I trust these repositories to have been tested with my version of PLESK.
-
my.cnf and php.ini optimization
rct2·com replied to ASTRAPI's topic in Classic self-hosted technical help
I recommend that you employ a professional to give you some advice. If you can afford to pay for that server on a monthly basis, you can afford to pay for a few hours for an expert to tune it. php.ini is the least important factor in this. You should focus on my.cnf and httpd.conf. The best settings will depend on what the server is being used for, number of visitors concurrent, what they are doing when they visit, etc. You might also like to google for different recommended my.cnf settings based on typical server spaces and usage profiles. -
Suggestion: Error message when trying to upload a file bigger than 2MB
rct2·com replied to MaNiAc LRSC's topic in Feedback
It may be a problem that the board cannot handle, such as a time out from the server because it's taking so long to upload the file. -
You may find this link interesting to understand what the lines at top of 'top' mean. http://www.kernelhardware.org/linux-top-command/ What that tells me is that the CPU is hardly being used so no processing going on. (Cpu(s): 4.8%us) But the things that are waiting for processing time is enormous (load average: 29.45, 34.41, 25.35) There is an awful lot of memory (around 1GB) of memory that isn't being used at all. (Mem: 3368496k total, 2317904k used, 1050592k free) The memory swap area on disk is hardly used, not surprising as there is so much unused memory ;) (Swap: 2096472k total, 74948k used, 2021524k free) Of things that are using the CPU it is nearly all mySQL ( PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2093 mysql 21 6 384m 147m 3948 S 102.4 4.5 823:00.08 mysqld) Everything points at a hugely sub-optimal MySQL configuration. It is probably not using memory as effectively as it should, and spending a large amount of time waiting for data from to/from disk. You should keep running MySQLtuner and implement its recommendations on a regular basis. It may also be worth getting the hard disk tested. Perhaps it is very slow or has bad sectors. As others have side here a server with the spec you have shoul easily handle the number of users you have. By the way who is user 'admunde' in the top output, and what php script are they running? When top is running, hit the character 'C' and you will get more info where it says 'php'.
-
Lines above mysqld on a CentOS system are like this: 6:18pm up 93 days, 13:11, 1 user, load average: 0.91, 0.87, 1.07 149 processes: 148 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 14.3% user, 1.9% system, 0.0% nice, 83.7% idle Mem: 2075064K av, 1961744K used, 113320K free, 0K shrd, 187704K buff Swap: 2040244K av, 7656K used, 2032588K free 1244712K cached Try and capture that when the server is slow, it will help us to help you. It gives us an idea whether the server is CPU bound or memeory bound or I/O bound. It would also be useful to do the same output when the server is really fast.
-
That's not the only place you can put that line, and it's probably not the best either. For example if that file gets updated by an upgrade/patch you lose that change. A much better place is in conf_global.php, one of very few files that you can be confident will not be changed (except by the upgrade script itself) by an upgrade. Do you have any mods/hooks installed that do stuff with bbcodes? So far I have not needed to change our board above that 32M limit. The only time I've got that error is when I have written bad code during my mod development, usually an infinite loop. Out of interest C242, how big (filesize) are the images that need thumbnails. My mod is accepting .GIF, .PNG, .PCX files above 1.25MB and converting them to .PNG and .PNG thumbnails with no problems using 32MB.
-
When I asked why YOU thought it was slow, I meant what you thought the cause (server load very high, no spare memory, no spare page memory, etc) might be, rather than the effect!(it takes 10 seconds for a page to appear) :) Surprised you cannot answer the questions about server load, memory occupancy and paging to disk when you run a dedicated server. Is it being managed for you, or are you expected to manage it yourself. Next time it goes really slow, run top and give us the lines above the mysqld line. Do you have the 'debug level' set to 1 so you can see server load, page generation time on the bottom right of your forum page? What are these values when it goes really slowly? Finally, it's dedicated server, but are there any other scripts/sites running at the same time when your board goes slowly? If so, have you eliminated them from your investigations so far?
-
Have you tried running www.mysqltuner.com ? Why do YOU think it's slow? Is it paging to disk and the memory is completely utilised, or is paging to disk and a lot of memory is unallocated, or is it not paging to disk at all? What is the server load figure when it's slow? (Could you post dumps from config files in code boxes instead of quote boxes. The fixed width font in code boxes makes them easier to read)
-
Was thinking exactly the same thing myself. Too many forums with the same name. +1 (the max I can award) Rather than rename them, another way would be to show the hierarchy in the search results. So (for example) when I view new content and it tells me it is in the "IP.Board" forum, it could tell me that it is in Peer-to_peer Support > IP.Board or Product Modifications > IP.Board. One level above the containing forum ought to be enough.
-
1. Yes you could, it's up to you. 2. Impossible to say. Like most operating systems, Linux will use as much memory as it possibly can, and keep programs in that memory for a s long as it can, to avoid needing to a) get the programs from the disk (much slower than memory) and b) swapping programs in and out of meeory to/from disk. 3. See above. The more users that are online, the more Apache processes (programs) there will be that need to be in memory to run and server pages to visitors, and the more MySQL will need to get data from disk and put it in memory to compute the results of the query to show the users the results.
-
Guaranteed is the mimimum memory that you will always have. Then there is a 'pool' of burstable memory for all the VPS customers on the same server. You get as much of the burstable memory that is available if your VPS could use it. How much of the burstable memory is available depends on all the sites on the server and what they are doing. So it's important for you to be confident that the sites will run in the minimum memory. If you have a private IP address you can be onfident that only the sites on your VPS use that address. Otherwise you will be sharing an address with other VPS customers. So there will be more delay before the request from a visitor gets through to your sites. It will depend on how many others are all trying to reach other sites on the same IP. It's also a good idea to have your own IP in case other people have sites on the same IP that are: attacked by DDOS scripts are vulnerable (weak security) and start spamming. Anti-spam software tends to work on IP addresses, so you may find your mail is being rejected because somebody else on the same address has 'triggered' the IP address to be added to the worldwide anti-spam databases. Assuming this is Linux, if you really, really tweak with the MySQL and Apache memory settings you can just about get away with running a 500 simultaneous user IP.Board in 512MB memory. Programs are always being swapped in and out of memory, so you don't necessarily need <minimum>*<the number of boards>.