Jump to content

rct2·com

Clients
  • Posts

    4,239
  • Joined

  • Last visited

  • Days Won

    8

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by rct2·com

  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. 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'.
  6. 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.
  7. 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.
  8. 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?
  9. 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)
  10. 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.
  11. 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.
  12. 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>.
  13. Not sure why this is in this forum, but I have often thought that it would be great if there was a small readme file in every folder that specifies what its for and the recommended permissions. For modders, there is this. http://community.invisionpower.com/resources/official.html?record=156
  14. Thanks for the feedback. Could you give a reference to that bug report please? I may link this topic to it.
  15. I have a mod which uses the built in editor. I want to really limit the bbcodes they can use. I've read this article http://community.invisionpower.com/resources/official.html?record=131 and successfully 'registered' my mod's editor to the AdminCP. Now, I want to go through the bbcodes and switch 'off' the ones I don't want. It seems to me that the way I need to do this is bbcode centric rather than modification centric, what I would call 'upside down'. See what I need to do for ecach bbcode that I want to disable is work with this kind of screen and mult-select in the second list so that I select everything EXCEPT my mod. And I have to do this for every bbcode that I don't want people to use. Which is a lot. What would be better IMO would be if I could select the name of my mod, and for the list of bbcodes to appear for me to select which ones I do and do not want my mod to have. Perhaps also, a default On/off for every new bbcode that gets added. In addition, for every bbcode that has a button in the editor, if I have it switched off, when my mod calls IPSText::getTextClass( 'editor' )->showEditor it would be nice if the button was hidden, rather than being displayed, and doing nothing.
  16. I like the current options. I like your idea Luke (living up to the tag under your avatar ;) ), but I wouldn't like to lose the current options.
  17. Where do we put the font file please?
  18. They are not kept anywhere special, they are in the <your_prefix>topics table
  19. If it's automated, and a near zero effort activity, and at least one customer is requesting it, then .... ?
  20. Sorry Michael, it wasn't intended to be personal. [me]fails to find olive branch :pax: smilie[/me] @Brandon D; I seem to remember in the past that upgrade announcements often did specify exactly what files were changed. Found one:
  21. My FTP client has an option to only upload files if they are newer than the ones on the server. This speeds up the upload. Personally, when there is an upgrade pack here, I tend to download it AND the full distribution, then use the distribution! Having said all that, an upgrade pack with just the changed files (however many there are Michael ;) ) is important to people who have edited the files to add mods. If InVision are using subversion to manage their code releases (which I believe they are), I see no reason why they cannot produce an upgrade pack however many files have changed.
  22. So you (and I don't mean 'you' personally) have something that is valueless, but want to "trade" it in for a discount on something else. I'm failing to see the logic here. I'm afraid that you guys with VB licenses are between a rock and a hard place. You can either spend a few hundred dollars with IB or with InVision. But it seems to me that the oncost if you transfer over here is going to be beneficial. So I don't see the logic in InVision 'incentivising' anybody to move over, at the risk of upsetting their existing customer base.
  23. Unless I've got the wrong end of the stick (I'm not a vbulletin customer), an upgrade to vB 4 is free, but if you want to buy it new, it's $195. Doesn't that mean that you can sell a vB 3 license for up to $194.99 to someone without a license who is considering a purchase?
×
×
  • Create New...