Re: Apache Startup Time
Jon Disnard <[email protected]> Wed, 04 Sep 2002 10:48:05 -0500
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Organization | Global Information Systems |
| Message-ID | <[email protected]> |
Or you can use the mysql dispatch, and remove any MP3 or MP3Playlist directives from the list of apache directives. I say to some folks that they can just use the mysql dispatch feature, and allow mod_mp3 to populate the mysql database of your mp3 collection just once. Then, shutdown Apache, and remove the MP3, or MP3 playlist directives (mentioned above) so that when apache starts it doens't look for any new mp3 files. That way is very fast, but you have to manage your mp3 databse yourself. Adding new rows for files as they are added to your collection, or modifing existing rows when files change location. Alternativly, you can keep yoru MP3, or MP3Playlist directives, and mod_mp3 will remember what you had the last time, and looking for new files is faster that way. Eithr way, its much faster to use the database dispatch features. What you are having now is Apache having to assume that each tiem it starts up that it has a whole new collection of music to catalog. -Jon Vidyut Luther wrote: > you could create a playlist, and then point modmp3 to just the playlist > file. > On Wed, 4 Sep 2002, Torben Janssen wrote: > > >>Hi, >> >>i'm using mod_mp3 with ampache and like it very much. >>I have a loooong Apache Startuptime since I use mod_mp3. I searched a bit >>an found out that ampache read recursively though my mp3-collection at >>every startup, right? >> >>Is there any possibilty to accelerate the startup-process? >> >>thanks in advance >> Torben Janssen >> >>_______________________________________________ >>Mod_mp3 mailing list >>[email protected] >>http://lists.tangent.org/mailman/listinfo/mod_mp3 >> > >