Re: installation probems: swap space is insufficient for optimization
Frank, Tuesday, January 29, 2002, 5:30:33 PM, you wrote: FRSE> the "./configure --with-low-memory" works but I don't FRSE> understand why the same version of mysql compilesFRSE> successfully on smaller system with less FRSE> swap ? God knows. Compiling such a complicated system like MySQL is tricky anyway. FRSE> There surely can't be a requirement for >500 Megs swap FRSE> for an ultra 2 FRSE> and >1.5 Gigs for a starfire ? General requirement for swap file for Unix OS = (RAM * 2)... So if you have 256mb RAM I'd suggest you to put 500mb swapfile.. FRSE> -- frank -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: installation probems: swap space is insufficient for optimization
Hi Egor, the "./configure --with-low-memory" works but I don't understand why the same version of mysql compiles successfully on smaller system with less swap ? There surely can't be a requirement for >500 Megs swap for an ultra 2 and >1.5 Gigs for a starfire ? thanks, -- frank Egor Egorov wrote: > > Frank, > > Tuesday, January 29, 2002, 12:33:03 PM, you wrote: > > FRSE> I have an Sun Ultra 2 with 500Megs of swap and I constantly get the > FRSE> following swap space messages when I try to install mysql-3.23.39. > [] > FRSE> -- > > FRSE> I get the exact same error when trying to compile on a 2.6 starfire > FRSE> domain with 1.5 Gigs of swap space. > > FRSE> I don't understand this failure as the same version of mysql compiles > FRSE> (with the same compilers) on lower-end sun4d & sun4m systems running > FRSE> much less swap. > > FRSE> Do I really need to run the "--with-low-memory" option ?? > > If you _really_ want to compile by yourself, yes. > But we recommend you to run the precompiled binary from MySQL website: > http://www.mysql.com/ > > FRSE> -- frank > > -- > For technical support contracts, goto https://order.mysql.com/ > This email is sponsored by Ensita.net http://www.ensita.net/ >__ ___ ___ __ > / |/ /_ __/ __/ __ \/ /Egor Egorov > / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] > /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net ><___/ www.mysql.com > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail ><[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
installation probems: swap space is insufficient for optimization
Frank, Tuesday, January 29, 2002, 12:33:03 PM, you wrote: FRSE> I have an Sun Ultra 2 with 500Megs of swap and I constantly get the FRSE> following swap space messages when I try to install mysql-3.23.39. [] FRSE> -- FRSE> I get the exact same error when trying to compile on a 2.6 starfire FRSE> domain with 1.5 Gigs of swap space. FRSE> I don't understand this failure as the same version of mysql compiles FRSE> (with the same compilers) on lower-end sun4d & sun4m systems running FRSE> much less swap. FRSE> Do I really need to run the "--with-low-memory" option ?? If you _really_ want to compile by yourself, yes. But we recommend you to run the precompiled binary from MySQL website: http://www.mysql.com/ FRSE> -- frank -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
installation probems: swap space is insufficient for optimization
Hi, I have an Sun Ultra 2 with 500Megs of swap and I constantly get the following swap space messages when I try to install mysql-3.23.39. - Note: The following compile may take a long time. If it fails, re-run configure with --with-low-memory CC -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/export/home/MYSQL/mysql\"" -DDATADIR="\"/export/home/MYSQL/mysql/var\"" -DSHAREDIR="\"/export/home/MYSQL/mysql/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF -DHAVE_RWLOCK_T -c sql_yacc.cc "sql_udf.h", line 79: Warning (Anachronism): Cannot cast from void* to double(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*). "sql_udf.h", line 98: Warning (Anachronism): Cannot cast from void* to long long(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*). "sql_udf.h", line 117: Warning (Anachronism): Cannot cast from void* to void(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*). "sql_udf.h", line 130: Warning (Anachronism): Cannot cast from void* to void(*)(st_udf_init*,st_udf_args*,unsigned char*,unsigned char*). "item_cmpfunc.h", line 286: Warning (Anachronism): Formal argument 4 of type extern "C" int(*)(const void*,const void*) in call to qsort(void*, unsigned, unsigned, extern "C" int(*)(const void*,const void*)) is being passed int(*)(const void*,const void*). "log_event.h", line 290: Warning: thd hides Load_log_event::thd. "sql_yacc.yy", line 1463: Warning (Anachronism): Cannot cast from void* to Item*(*)(). "sql_yacc.yy", line 1465: Warning (Anachronism): Cannot cast from void* to Item*(*)(Item*). "sql_yacc.yy", line 1467: Warning (Anachronism): Cannot cast from void* to Item*(*)(Item*,Item*). "sql_yacc.yy", line 1469: Warning (Anachronism): Cannot cast from void* to Item*(*)(Item*,Item*,Item*). 10 Warning(s) detected. After 6423 alloc calls, swap space is insufficient for optimization of routine __1cHyyparse6F_i_ at optimization level -O3 current routine started again at -O2 After 18086 alloc calls, swap space is insufficient for optimization of routine __1cHyyparse6F_i_ at optimization level -O2 current routine started again at -O1 After 18089 alloc calls, swap space is insufficient for optimization compiler(iropt) error: optimizer terminating - I get the exact same error when trying to compile on a 2.6 starfire domain with 1.5 Gigs of swap space. I don't understand this failure as the same version of mysql compiles (with the same compilers) on lower-end sun4d & sun4m systems running much less swap. Do I really need to run the "--with-low-memory" option ?? Thanks in advance, -- frank - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php