Jump to content

recyclerobot

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by recyclerobot

  1. Hi,

    I'm trying to build my own install file to be able to start every new PW install with a fixed number of fields,

    So far I've dumped my previous PW database into a .SQL file and included it in the install.sql,

    during the install it nicely imports all my database settings into my newly installed database

    but I do have a problem with the admin user,

    when I try to login I get a

    This request was aborted because it appears to be forged.

    any ideas how I can fix this or copy a database into a new install profile?

    • Like 1
  2. Hi, I'm currently trying to setup a multi server setup here and I was wondering if anybody has any experience in saving the /site/assets/files to a different server,

    currently I have a front-end templates server, a backend mysql server and a fileserver setup, I'm trying to implement PW into this flow, anybody has done this before?

    Kind regards!

    • Like 1
  3. server {
    	listen 80;
    	server_name pw-nginx.test;
    	root /usr/share/nginx/www/pw;
    	index index.php;
    	try_files $uri /index.php?it=$uri&$args;
    	location ~ \.php$ {
    			fastcgi_split_path_info ^(.+\.php)(/.+)$;
    			include fastcgi_params;
    			fastcgi_index index.php;
    			fastcgi_intercept_errors on;
    			fastcgi_pass unix:/tmp/php5-fpm.sock;
    	}
    	location ~ /\.ht {
    			deny all;
    	}
    }
    

    That's about as bare bones as I could make it.

    Hi Netcarver, thx so much for your help, managed to get it up and running, now testing a nginx in the cloud with assets on an amazon S3 and shared database, that should give me enough breathing room to let this baby grow :)

  4. Update: I now have PW running on nginx. It took a little longer than expected & I'll post more when I've investigated it further.

    Hi Netcarver, I'm currently transferring some PW projects to a nginx server, can you give some more details about important steps to make this less painfull? :)

  5. Hi Ryan,

    Thanks for your answer, php 5.1 was a typo, I'm using 5.3.2 :)

    I've done some tests running processwire as mod_cgi and running processwire as mod apache, both running a bare bone github install (main repo from today) and called a execution time and you're right: mod_cgi is a tiny tiny bit faster but uses alot more RAM while doing so (after 1000 refreshes, mod_cgi spiked at almost 300Mb in cycle, while mod_apache stayed at a steady 68Mb)

    runtimes (after 1000 calls)

    mod_cgi:
    page runtime: 0.0476528 sec
    
    mod apache:
    page runtime: 0.0479234 sec
    

    so I'm switching my server to mod apache, and looking into APC :)

    Love your markupCache, I've been succcessfully using it on 2 projects now (caching large header elements)

    Looking forward to the new Page > write to filesystem or not :)

    again, thanks for everything!

    • Like 1
  6. Hi everyone,

    let me first start off by expressing how much I love Processwire, I've succesfully integrated it with about 8 sites now and I'm just so in love with the simplicity (we love you ryan :D)

    I was wondering how processwire scores on the performance/serverload front, how much processwires can I run on my VM with how much ram and are there any recommoned server apache settings?

    currently I'm running an ubuntu with 4GB ram and 3 cores (1,6Ghz each),

    I'm using php 5.1 with mod_cgi and the 8 processwire sites use about 1,6GB of RAM, having about 50k visitors/month across these sites I'm wondering how processwire will perform in case of 100k - 200k - 500k - 1M visitors, will the session system last (I noticed it's writing a cached file to the filesystem)?

    also: what's the limit with the "new Page();" command, is it creating a new directory for every created page, what's the limit (the filesystem? the amout of ram?)

×
×
  • Create New...