All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Still having problems with Xeoncross' lowendscript
Greets:
Let me begin by saying that I'm very frustrated by this. Please excuse me.
I'm trying once again to get Xeoncross' lowendscript to work and I'm still having issues. Hoping someone can help.
I've done a bunch of editing to fix the issues that I've had previously. I still can't get my head wrapped around how php is getting invoked though. Looking at the script, I'm seeing lines that both cgi and mvc are being used. In fact it appears to me that the wordpress portion of the script is calling phpcgi while domain is calling mvc. It looks like when I do a top, I'm running phpcgi. I'm going to go with that.
If you think that mvc is better, right now I don't want to hear it. (Excuse me. I'm really ticked. I'm going on like hour 3 on this. I have better things to be doing.)
The include line in the conf file is this:
include /etc/nginx/fastcgi_php;
There is nothing on the server with that file name. Done a updatedb and a locate, gone looking, etc. I'm thinking it sould be:
include fastcgi_params;
Yes? No?
Can someone please kindly help?
Thanks
Comments
I just figured it out. The include should be pointing at:
/etc/nginx/php.conf
It's mentioned further up in the file. Sorry for the trouble.
lol mike
Not been a fun day.
And then to boot, our svn/trac provider is kicking our nothing but errors so I can't push out any code.
If that script was on a svn somewhere, I'd submit the fixes. Not setup to do git. And still no clue why the script talks about mvc but doesn't appear to set it up.
Is just an example I guess (about mvc)
Hey @drmike, you have my email so feel free to ping me with any questions.
The script sets up two nginx configs for handling passing requests to PHP.
Which is for Wordpress and other systems that have many "entry-points" like wp-admin.php, index.php, otherfile.php, etc.
PHP frameworks use a single index.php file which receive the request and then route it to the correct controller. (CakePHP, CodeIgniter, Zend, etc..)
Depending on what you are running you need to chose one or the other.
Incidentally, I am planing some updates to my script in the near future (testing right now) to move to PHP-FPM and add Postfix/PostgreSQL support. I will also be fixing the domain function.
I know I have about 8-10 tickets logged about the script.
Part of the problem is that you're referencing mvc but not setting it up in the script.
And it appears that the setup of itables causes an issue when sftp gets run because I just got locked out of my vps.
I haven't confirmed that so I won't open up a ticket but just wanted to throw that out there.
Sorry @drmike, I don't get emails when issues are created on lowendadmin's copy of the repository. It's rather silly how github has it setup actually. Here he has to deal with all these issues that don't even apply to his codebase.
I'm hijacking this thread to ask a question about the lowendscript.
I'm using it to "strip down" the installation, so I'm only using the "system" and "optimize" commands . However it seems to do the opposite. I start off with 30-ish MB used and end up with 120+ (according to free -m).
Anyone have any idea what's going on, cause ps aux doesn't really show any process using up that much memory.
After all the changes to the system, there might be extra swap or something that is no longer used - but still reported. You might want to check
htop
ortop
and see whats running - and if nothing sticks out then just restart the server to see if that clears everything.Restart does nothing. Server is currently hovering around 112 used.
Nothing is using up resources, bash is the biggest %mem user with 1.3%.
vmstat agrees with free -m.
@sDsB, What does
ps -aux
show?@sDsB: As you seem to be using OpenVZ you need to look at the first row in column
-/+ buffers
statingused
infree -m
.@sDsb, http://www.linuxatemyram.com/
LOL, thats awesome.
Thanks guys.
Pfff, another one...
sorry
How do I bump up the number of allowed connections in iptables? Currently I guess it;s three per this but just a simple sftp connection appears to hit that limit. (Because it's Passive I guess?)
edit: I got it. I edited the config script and then rebooted to get it to load again.
The iptables script is located at
/etc/iptables.up.rules
so you can always just edit the file.Yup, that was the file. Just bumped it up to 5 for the time being.
Surprised that it doesn't affect torrenting. I guess because that's outbound?
It only limits SSH connections (or anything using port 22).
Yup, that's the problem since sftp goes through 22.