Jump to content

ASTRAPI

Members
  • Posts

    1,638
  • Joined

  • Last visited

  • Days Won

    6

 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 ASTRAPI

  1. You only need to use: try_files $uri $uri/ /index.php; or try_files $uri $uri/ /index.php?$args; Don't forget to protect your uploads folder also with a rewrite rule
  2. If you know what do do then you can go ahead if not ask your host if they provide that for you..... It is not something that someone can let you know and just add it there as optimization is specific to each user and each server.... Also if yo are on shared server then only the provider can do that.....
  3. It looks like it needs some tunning so it will not use all of your ram
  4. CloudFlare announced there support for HTTP/2 Server Push but Nginx HTTP/2 module doesn't have server push support. It seems that they use own custom coding and you will have to wait for them to release it as open source so the game will start Or do you mean to use there implementation? If yes: Enabling Server Push All of our customers using HTTP/2 now have Server Push enabled, but unfortunately, Server Push isn’t one of those features that just works—you’ll need to do a little bit of work to truly leverage the benefits of Server Push. Our implementation follows the guidelines laid out in the W3C’s draft standard on the use of a preload keyword in Link headers1, and we will continue to track that standard as it evolves. So, if you want to push assets for a given request, you simply add a specially formatted Link header to the response: Link: </asset/to/push.js>; rel=preload; Those links can be manually added, but they’re already created automatically by many publishing tools or via plugins for popular content management systems (CMS) such as WordPress. Only relative links will be pushed by our edge servers, which means Server Push won’t work with third-party resources.
  5. Not flexible and it will not give any significant performance gain
  6. top n -1 (same as above, but will output your first stat instead of constant loop) This is wrong as it should be: top -n 1
  7. The most adjusments are related to Tuning primer script and Sql tuner.
  8. Dedicated server with one forum only: # 2x Intel Xeon Quad 5405 # 8192 MB FB DDR2 RAM # 500 GB 7.200 RPM - Sata2 # 1.000 Mb speed # Latest Centos 64bit and mysql. my.cnf: [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking skip-innodb skip-bdb key_buffer = 896M max_allowed_packet = 1M table_cache = 1024 sort_buffer_size = 8M read_buffer_size = 8M read_rnd_buffer_size = 8M net_buffer_length = 2K thread_stack = 64K thread_cache_size = 4 table_cache = 64 query_cache_size = 256M thread_concurrency = 4 log-slow-queries = /var/log/mysql/mysql-slow.log server-id = 1 skip-networking [mysqldump] quick max_allowed_packet = 1M [mysql] no-auto-rehash safe-updates [isamchk] key_buffer = 10M sort_buffer_size = 2M [myisamchk] key_buffer = 10M sort_buffer_size = 2M Also if you have any other recommendations for system tuning let me know :) Thank you
  9. In my whm when i change the suphp i have an option for cgi only and nothing related to fcgi .....
  10. ab -n 10000 -c 100 http://xxx.xxx.xxx.xxx:8088/index.php Command not found when i try to benchmark litespeed :(
  11. Thanks emm1 :) Now the xcache is loading ok and the admin panel also but i think xcache 1.3.0 doesn't work under suphp :(
  12. Hello I was install xcache under apache suphp and it seems to load it without any problems as i can see using php -v When i copy from untared folder the admin directory to my public_html i got 500 internal error (i have setup my password as md5) Any ideas how can i fix it? Thank you
  13. Thank you bono but i need a solution to compare performance for Apache nginx and litettpd...
  14. Hello Is there anyway to measure the performance of a linux web server ? I need the program that you will recomend me to generate traffic on the server as no one is online as i test it at this state. Thank you
  15. For eaccelerator it works but it will work with xcache under suphp? Thank you
  16. Hello Is it possible to use Nginx as front end of Apache and xcache under Suphp? Thank you
  17. I thought it was specific file and not able to use any file that i get from net as i want to be very stable .... If anyone can adjust my.cnf please post it here. Thank you
  18. Many of those are missing can you help me to adjust them? [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking skip-innodb skip-bdb key_buffer = 10M max_allowed_packet = 1M table_cache = 1024 sort_buffer_size = 2M read_buffer_size = 1M read_rnd_buffer_size = 1M net_buffer_length = 2K thread_stack = 64K log-slow-queries = /var/log/mysql/mysql-slow.log server-id = 1 skip-networking [mysqldump] quick max_allowed_packet = 1M [mysql] no-auto-rehash safe-updates [isamchk] key_buffer = 10M sort_buffer_size = 2M [myisamchk] key_buffer = 10M sort_buffer_size = 2M
  19. Hello Using mysqltuner i got the above recomendations: 1) Total fragmented tables: 13 2) Query cache is disabled 3) Sorts requiring temporary tables: 95% (1M temp sorts / 1M sorts) 4) Thread cache is disabled 5) Table cache hit rate: 0% (64 open / 47K opened) 6) Table locks acquired immediately: 93% And as recomendations i got: General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance Enable the slow query log to troubleshoot bad queries Set thread_cache_size to 4 as a starting value Increase table_cache gradually to avoid file descriptor limits Optimize queries and/or use InnoDB to reduce lock wait Variables to adjust: query_cache_size (>= 8M) sort_buffer_size (> 1M) read_rnd_buffer_size (> 256K) thread_cache_size (start at 4) table_cache (> 64) Where are those variables to adjust? Thank you
  20. Hello I am ready to try this configuration: Nginx as front end of Apache and xcache and i want to ask if you think that is good configuration for a big forum? I found about xcache: How can i do that? Thank you
×
×
  • Create New...