If you install GIT or SVN (Server Repo) on Linux, will it run any permanent processes i.e. will it leave a permanent memory footprint on my Linux server?
I'm on a server where keeping down memory usage is of the essence.
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Subversion will require you to run either the svnserve daemon or mod_webdav in Apache to access your repositories. If you are looking to keep things to a minimum, you can set up svnserve to run as an inetd service (this is how I run a Subversion server on a little linux laptop in the basement) or using svn+ssh. Note that in all cases, a daemon is required to accept the incoming request, but you maybe able to piggyback on an existing service. GIT can be used without a daemon of any kind, if you simply plan to use file sharing to synchronize your repositories. This isn't an ideal setup for a large development group, but it is workable if you are really constrained. If one of these sounds better than the other, let me know and I can elaborate further. | |||||||||
feedback
|
|
Don't know for git, but for svn: you have multiple options. If you use svnserve yes, it will have a running process. If you use svn+ssh protocol the svn process will only get created when needed, and not leave a permanent process running. If you already have an apache httpd running you can also let that one deliver svn content, in which case you have obviously the apache footprint. | |||||||
feedback
|
|
Actually, subversion allows you to run without memory footprint, through ssh, will execute svnserve only for the moment you are commiting. | |||||||
feedback
|