Commit Graph

82 Commits

Author SHA1 Message Date
orbiter
ec21f0494e removed -d64 jvm option because that causes problems on non-64 bit
linux, see http://bugs.yacy.net/view.php?id=349 and
http://bugs.yacy.net/view.php?id=339
2014-01-18 12:54:14 +01:00
Michael Peter Christen
a909a3dbc4 removed non-root restriction in startYACY.sh because that is also not
applied for the debian version. There is no reason to apply this
restriction.
Added also the -d64 option if the system is 64 bit.
2013-12-19 09:04:23 +01:00
orbiter
f117ea0492 reverted start script options - yacy on windows did not start with the
given values
2013-07-27 15:36:46 +02:00
Michael Peter Christen
9b5bdae1b4 Reverted setting of MMapDirectoryFactory from solrconfig; see
http://forum.yacy-websuche.de/viewtopic.php?p=27509#p27509
Instead, in the start script is checked if the host is a 64 host and
-Dsolr.directoryFactory=solr.MMapDirectoryFactory is set as java option

Reverted the ramBufferSizeMB setting (this was not enabled anyway)
because that may be too much memory for small peers and embedded
systems.

Activated the mergeFactor 4; this was commented out by mistake
2013-01-21 17:55:28 +01:00
Michael Peter Christen
f7c43e964c enable asserts only with debugging 2012-06-19 08:23:10 +02:00
sixcooler
69570fda24 bring my master to stuff from remote 2011-11-24 19:21:58 +01:00
sixcooler
5c58eda45a custom start-script 2011-11-14 12:20:33 +01:00
orbiter
1c007188ad bugfixes in html parser
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7912 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-08-31 16:02:06 +00:00
orbiter
60ee245486 setting startup options:
-Xss256k
and
-XX:ReservedCodeCacheSize=1024m 
after appearance of a malloc error together with a crash of the jvm which stated at the end of the log:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32756 bytes for ChunkPool::allocate
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=

this follows the last two points in the list of recommendations. To set appropriate values the default values from
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html
and 
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
had been considered

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7823 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-07-03 21:33:24 +00:00
orbiter
214ea005cf added "-XX:MaxPermSize=256m" to start script
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7810 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-06-30 15:44:06 +00:00
orbiter
88773e4daa changed the default port from 8080 to 8090
see also: http://forum.yacy-websuche.de/viewtopic.php?p=21683#p21683

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7454 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-01-28 10:54:13 +00:00
orbiter
9fc940aa35 release 0.99
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7309 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-11-05 13:20:51 +00:00
orbiter
5fe828fa06 - replaced pdfbox and fontbox version 1.1.0 with 1.2.1
- added some clear statements that shall clear static cache size within the pdfbox library
- the pdfbox library contains a memory leak; it is unsafe to run a peer with pdf parser permanently on.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7120 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-07 17:13:47 +00:00
orbiter
72a096fccb using -XX:-UseGCOverheadLimit when starting java.
see also: http://forum.yacy-websuche.de/viewtopic.php?p=20709#p20709

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7108 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-05 14:19:02 +00:00
orbiter
b3f0d06444 fixed a problem with restarts in YaCy mac applications: the DATA directory path was not submitted when doing a restart. This solves the problem by:
- storing the startup properties when yacy is started
- using the properties in the restart-script again. this transports also the DATA directory location as parameter of the -gui option that is used when the Mac version of YaCy is started

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7102 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 23:08:43 +00:00
orbiter
698730c4eb better utf-8 support everywhere using a default utf-8 encoding for all string conversions.
todo: add this also for debian start script (how do I do that?)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7098 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-09-03 22:18:10 +00:00
lotus
93d2c22e60 adapted memory for first run to current standard values
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7079 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-27 18:38:02 +00:00
orbiter
ec72387165 added a very early test version of a YaCy gui component.
The gui currently does nothing else than providing a search window that sends the search string to the browser
The gui is started when YaCy is started with the option -g or --gui, like
./startYACY.sh -g
The gui will primary be used to provide a 'real' macintosh version that can be started and operated like any other macintosh application. A special mac application wrapper will follow.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7021 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-05 10:43:03 +00:00
low012
67dd376a33 *) hopefully solving ipv4/ipv6 issue described in http://www.yacy-forum.org/viewtopic.php?f=2&t=252&start=30#p1248 and http://forum.yacy-websuche.de/viewtopic.php?f=5&t=2554
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6626 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-01-26 19:22:14 +00:00
orbiter
8df1694288 - added options to switch on/off search domains (text, image, audio, video, app)
- more memory by default


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6605 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-01-21 22:03:02 +00:00
orbiter
f6731c6240 more logging etc.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6589 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-01-17 00:41:50 +00:00
orbiter
267108470f testing jmx console for yacy:
- start YaCy with startYACY.sh -l
- open jconsole and open localhost:9999

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6484 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-11-18 14:54:30 +00:00
orbiter
a8ce192f63 - shifted main classes to new package net.yacy
- fixed some bugs in last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6427 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-10-18 01:38:07 +00:00
orbiter
db1b030276 fixed class path in startup scripts; omitting old classes path; all classes are now in lib/yacycore.jar
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6318 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-15 17:29:18 +00:00
orbiter
1ddaf16466 added generation of a yacycore.jar yacy library file:
when a ant dist is envoked, the release is built using the new yacycore.jar without the class files in classes
YaCy consists currently of two main parts: the YaCy core and the YaCy interface. This change will make it
possible to use the YaCy core as part of other projects.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6311 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-14 17:06:09 +00:00
low012
ae334c7b83 *) -l and -d enable asserts now
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5923 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-05-05 18:49:51 +00:00
orbiter
d2ac0aa682 - fixed possible bugs in Stack (may affect Crawler reset) and RandomAccess handling
- increased default memory size to 180MB
- fixed possible bug in http client reset (there was a deadlock)
- bug in BOBHeap marked, but not solved, cause is still unknown.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5912 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-05-02 01:40:03 +00:00
f1ori
aaafe05c02 * revert debug change
* contains instead of startsWith, because there might me localizied strings
* decode punycode for every domainpart seperately (see http://forum.yacy-websuche.de/viewtopic.php?f=9&t=1749)


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5516 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-01-24 00:33:38 +00:00
f1ori
5570fa817b * remove & from openBrowser command (see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1728&hilit=#p12321)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5515 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-01-23 22:37:00 +00:00
orbiter
78ad58cd42 the UseConcMarkSweepGC option caused a full CPU usage - bug on Darwin (Mac OS X)
but it was reported that the same option causes a good performance on Solaris
Therefore it is now only used if YaCy runs on solaris.
Pleas make comparisment tests with/without this option on linux and change start script
if it is obvious that the option causes the linux JVM to work better. (with Java 1.5 !)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5156 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-09-14 20:35:50 +00:00
danielr
73519cbdca fixed pid-file for linux start-script
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5090 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-27 19:18:38 +00:00
f1ori
04310a7255 * added long options and help-option to linux startscript
* redirect all error messages to /dev/null


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5078 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-25 17:17:01 +00:00
danielr
f9a715dc33 simplified Linux start-script
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5064 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-20 07:57:47 +00:00
danielr
59c4e35aaf corrected LargePages-detection
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5049 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-10 13:03:36 +00:00
low012
f825e88a09 *) large memory pages will only be used if start script can confirm that Linux supports them or that the OS is Solaris, this should eliminate all sorts of weird behavior including not working shutdown
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5048 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-10 12:02:11 +00:00
danielr
785688ef82 - creating pid-file under linux
- added modified init-script (using startYACY.sh instead of doing the same thing)


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5017 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-07-24 18:56:29 +00:00
orbiter
f8af00d7e8 added some experimental jvm startup properties which helped the metager peer to get more stable.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4931 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-06-15 21:41:46 +00:00
danielr
c5d1d7faca undo wrong commited files
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4685 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-04-12 15:22:57 +00:00
danielr
2617f4dcdb Connections_p.html: better formatting and remove very old entries
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4684 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-04-12 15:19:18 +00:00
danielr
9d0af17c5b removed debug from startYACY.sh *ups*
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4578 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-17 13:02:39 +00:00
danielr
bf3e5807b0 fixed typo and remove redundant code from startYACY.sh
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4577 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-17 12:51:46 +00:00
orbiter
7150b463ff changed handling of default values and database paths:
- the default files yacy.init and for the network definition is now moved to the path defaults
- the httpProxy.conf is renamed to yacy.conf
- the DATA/INDEX/PUBLIC is renamed to the actual network nickname, which should be freeworld or sciencenet
more menu entries
- added apfelmaennchens alternative search page to the menu
- added the new thread dump page to the server log menu point as submenu
modifications
- modified the thread dump page: sorting by thread type

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4575 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-16 22:31:54 +00:00
low012
ce8adf9907 *) *NIX start script displays the right port number now instead of always displaying 8080 no matter what the port is set to
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4521 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-01 12:08:24 +00:00
orbiter
efd5807a7c - some renaming of variables to support DC
- initial 120mb RAM for fresh peers
- release 0.57

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4445 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-02-04 22:58:40 +00:00
low012
0856cabb37 *) fixed typo that caused log being written to console under Ubuntu and OpenSolaris, probably also fixes problem with FreeBSD
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4416 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-01-29 21:27:06 +00:00
low012
0e27febe47 *) fixed more links
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4068 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-09-01 11:24:23 +00:00
low012
0339c65ee2 *) note to myself: Just because it works with Linux and most of it works with OpenSolaris does not mean the whole thing works with OpenSolaris. Being lazy never pays off!
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4018 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-31 20:41:54 +00:00
low012
507afa7d6e *) start script should be POSIX compliant now, solution as suggested by Fuchs in http://forum.yacy-websuche.de/viewtopic.php?t=203
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4008 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-29 15:29:49 +00:00
low012
d36786bf37 *) startYACY.sh is compatible with OpenSolaris now (see http://forum.yacy-websuche.de/viewtopic.php?t=203 for details)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4007 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-27 21:56:49 +00:00
orbiter
40b0547611 - documentaton changes (removed old forum links)
- different handling of link quotation
- different handling of link normalization
- enhanced html/unicode en/de-coding

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3993 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-07-19 15:32:10 +00:00