Process hand in Solaris SunOS 5.8
Hi,
I am running a multithreaded application. The application hangs after 2 days of continuous execution.
when i pstack with the pid, i get the following output:
4760: /proj/TTMW/lib/ttmw_aims_factory/bin/TTMWAimsFactory -ORBInitRef NameS
----------------- lwp# 425 / thread# 50 --------------------
fce1d650 poll (f830d590, 6, ffffffff)
fcdcd540 select (f, 0, 0, f830d5c0, fce3f1bc, f830d590) + 348
fe1aab28 select (f, 3ae8c6c, 0, 0, 0, 0) + 34
ff052dec __1cUACE_Select_Reactor_T4nbAACE_Select_Reactor_Token_T4nJACE_Token____Ywait_for_multiple_events6MrnbDACE_Select_Reactor_Handle_Set_pnOACE_Time_Value__i_ (3ae8920, 3ae8c64, 0, 0, 1, 0) + 16c
ff05e5d8 __1cOACE_TP_ReactorZget_event_for_dispatching6MpnOACE_Time_Value__i_ (3ae8920, 0, 0, 0, 0, 0) + 120
ff05dc14 __1cOACE_TP_ReactorKdispatch_i6MpnOACE_Time_Value_rnSACE_TP_Token_Guard__i_ (3ae8920, 0, f830d884, 0, 0, 0) + 3c
ff05d2d0 __1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae8920, 0, 0, 0, 0, 0) + 138
ff048488 __1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae82d0, 0, 0, 0, 0, 0) + 68
feb812e8 __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ (3ad89e8, 0, 0, 0, 3b20e50, 0) + 2e0
feaa1df4 __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ (3aea0c8, 0, 0, 0, fe1ea8d4, 20) + 4c
feaa1d30 __1cJCORBA_ORBDrun6M_v_ (3aea0c8, ffbef7e0, ff15a788, 0, fe1ea8d4, 0) + 30
011fde58 __1cOTTMW_OrbThreadDsvc6M_i_ (ffbef7e0, ffbef7e0, ff15a788, 0, 0, 0) + 10
ff15a850 __1cNACE_Task_BaseHsvc_run6Fpv_1_ (ffbef7e0, 1, 0, 0, 0, 0) + 70
ff0154b0 __1cSACE_Thread_AdapterIinvoke_i6M_pv_ (3aeceb0, 3aea1d8, 0, 0, 0, 0) + e8
ff015360 __1cSACE_Thread_AdapterGinvoke6M_pv_ (3aeceb0, 0, 0, 0, 0, 0) + 118
fef776b4 ace_thread_adapter (3aeceb0, fccf3d38, 0, 5, 1, fe401000) + 44
fe1ab11c threadstart (3aeceb0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 2 / thread# 2 --------------------
fce1ee14 signotifywait ()
fe19e980 _dynamiclwps (fe1bc000, ff3de79c, fedd1404, 40000000, fd0d017c, ff3de0c0) + 24
fe1a1c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 417 / thread# 1 --------------------
fce1f4c4 lwp_sema_wait (3aaa3f8)
fe1996f4 _park (3aaa3f8, fe1bc000, 0, 3aaa330, 0, 0) + 114
fe1990f0 _swtch (3aaa330, ffffffff, fe1bc000, 5, 1000, 0) + 158
fe19c888 sema_wait (3aa6828, fe1c7864, 5000, 10000, 534d, 1) + bc
fe19cbd8 libthreadsema_wait (3aa6828, 0, fe1bc000, ff386000, 10c30, fe19cb98) + 40
ff375334 sem_wait (3aa6828, ffbedc58, ffbedaf0, 3b5d2f0, 0, 3b5d2f0) + 20
00b9ca9c __1cQCAimsServerAgentPisValidTestCase6FknDstdMbasic_string4Ccn0BLchar_traits4Cc__n0BJallocator4Cc_____b_ (ffbedc58, ffbedd7c, c, ffffffff, 1, 3aa6350) + 94
00b9dfa8 __1cQCAimsServerAgentKsendToAims6MnDstdMbasic_string4Ccn0BLchar_traits4Cc__n0BJallocator4Cc____2_v_ (3b2f1d0, ffbedd7c, ffbedd78, 3aa6350, 1, 0) + 30
013a5098 __1cRAims_TlResource_IOexecuteCommand6MnDstdMbasic_string4Ccn0BLchar_traits4Cc__n0BJallocator4Cc____c2_2_ (ffbedf88, 3b5e990, ffbedf94, d, ffbedf90, 3ad89e8) + 4b0
01320d84 __1cLAims_Cell_ILgetPosition6M_nOTtmwTlResourceIPosition__ (3b5e898, ffbee078, 1, 3b5eb48, ffbee2cc, 0) + 23c
00a8726c __1cSPOA_TtmwTlResourceECellQgetPosition_skel6FrnRTAO_ServerRequest_pv4_v_ (ffbee63c, 3b5eb48, ffbee264, b, ffbee2cc, ffbee268) + 10c
fd290b78 __1cPTAO_ServantBasebBsynchronous_upcall_dispatch6MrnRTAO_ServerRequest_pv3_v_ (3b5e8fc, ffbee63c, ffbee264, 3b5eb48, ffbee2d4, 80000000) + 1c8
00a889a8 __1cSPOA_TtmwTlResourceECellJ_dispatch6MrnRTAO_ServerRequest_pv_v_ (3b5eb48, ffbee63c, ffbee264, ffbee258, 0, 0) + 40
fd2393d0 __1cSTAO_Object_AdapterQdispatch_servant6MrknNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_ (3b2f328, ffbee6a8, ffbee63c, ffbee35c, fe1ea8d4, 18) + 138
fd23a7d8 __1cSTAO_Object_AdapterIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_ (3b2f328, ffbee6a8, ffbee63c, ffbee440, 0, 0) + 1d0
fec2443c __1cUTAO_Adapter_RegistryIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__v_ (3ad8b50, ffbee6a8, ffbee63c, ffbee4c0, 3aa65d8, 3b318e0) + b4
fec968b4 __1cWTAO_Request_DispatcherIdispatch6MpnMTAO_ORB_Core_rnRTAO_ServerRequest_nQCORBA_Object_out__v_ (3aaa6e0, 3ad89e8, ffbee63c, ffbee61c, 3b40f58, 3ad89e8) + 94
fecb9338 __1cVTAO_GIOP_Message_BasePprocess_request6MpnNTAO_Transport_rnMTAO_InputCDR_rnNTAO_OutputCDR_pnbHTAO_GIOP_Message_Generator_Parser__i_ (3b5b2c0, 3b40f58, ffbee7d8, ffbee82c, 3b5b2e0, 0) + 1e0
fecb8a54 __1cVTAO_GIOP_Message_BaseXprocess_request_message6MpnNTAO_Transport_pnPTAO_QdDueued_Data__i_ (0, 1, 0, 0, 0, 0) + 3a4
fe9d7284 __1cNTAO_TransportXprocess_parsed_messages6MpnPTAO_QdDueued_Data_rnRTAO_Resume_Handle__i_ (3b40f58, ffbeecb8, ffbef220, 0, 3b3ba80, 3ad8c10) + 1ac
fe9d5af0 __1cNTAO_TransportOhandle_input_i6MrnRTAO_Resume_Handle_pnOACE_Time_Value_i_i_ (3ad8c10, 1, 0, 0, fce3f1bc, ffffffff) + 718
fe9ef52c __1cWTAO_Connection_HandlerPhandle_input_eh6MipnRACE_Event_Handler__i_ (3b5bb68, c, 3b5bb00, 2, 19f78, fce176f0) + 4dc
fea2d6e4 __1cbBTAO_IIOP_Connection_HandlerMhandle_input6Mi_i_ (3b5bb00, c, 0, 1, ffbef304, 0) + 44
ff05eb4c __1cOACE_TP_ReactorVdispatch_socket_event6MrnUACE_EH_Dispatch_Info__i_ (3ae8920, ffbef39c, ffbef3a4, 0, 1, 0) + bc
ff05e168 __1cOACE_TP_ReactorUhandle_socket_events6MrirnSACE_TP_Token_Guard__i_ (3ae8920, ffbef420, ffbef49c, 0, 0, 0) + d8
ff05dd04 __1cOACE_TP_ReactorKdispatch_i6MpnOACE_Time_Value_rnSACE_TP_Token_Guard__i_ (3ae8920, 0, ffbef49c, 0, 0, 0) + 12c
ff05d2d0 __1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae8920, 0, 0, 0, 0, 0) + 138
ff048488 __1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae82d0, 0, 0, 0, 3aa6700, ff00) + 68
feb812e8 __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ (3ad89e8, 0, 0, fce0809c, 3b62c50, 0) + 2e0
feaa1df4 __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ (3aea0c8, 0, 3aa6350, fce3fca8, 2e, 3b62c50) + 4c
feaa1d30 __1cJCORBA_ORBDrun6M_v_ (3aea0c8, ffbef7a8, 0, 0, fe1ea8d4, 168) + 30
00bbcc28 main (7, ffbef9dc, ffbef9fc, 25a9000, 0, 0) + 3d8
0046ae20 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 412 / thread# 51 --------------------
fce1f4c4 lwp_sema_wait (f820be60)
fe1996f4 _park (f820be60, fe1bc000, 0, f820bd98, 23154, 0) + 114
fe1993bc _swtch (f820bd98, 0, fe1bc000, 5, 1000, 0) + 424
fe1981c4 cond_wait (f820bd98, 0, 0, fe1bc000, 0, 0) + 11c
fe198088 pthread_cond_wait (f820b6f0, 3ae8e48, 0, fe1bc000, 0, 0) + 8
feffcf0c __1cGACE_OSOcond_timedwait6FpnN_pthread_cond_pnO_pthread_mutex_pnOACE_Time_Value__i_ (f820b6f0, 3ae8e48, 0, 0, 0, 0) + b4
feffadfc __1cbAACE_Condition_Thread_MutexEwait6MrnQACE_Thread_Mutex_pknOACE_Time_Value__i_ (f820b6f0, 3ae8e48, 0, 0, 3b20e90, 0) + 44
feffae74 __1cbAACE_Condition_Thread_MutexEwait6MpknOACE_Time_Value__i_ (f820b6f0, 0, 3ae8e78, 0, 0, fce176f0) + 44
ff01b5c8 __1cJACE_TokenVACE_Token_QdDueue_EntryEwait6MpnOACE_Time_Value_rnQACE_Thread_Mutex__i_ (f820b6e8, 0, 3ae8e48, 3ae8e78, 0, 0) + 40
ff01a96c __1cJACE_TokenOshared_acquire6MpFpv_v1pnOACE_Time_Value_n0ARACE_Token_Op_Type__i_ (3ae8e30, ff05fef8, 0, 0, 1, 0) + 2fc
ff05fec8 __1cJACE_TokenMacquire_read6MpFpv_v1pnOACE_Time_Value__i_ (3ae8e30, ff05fef8, 0, 0, 0, 0) + 58
ff05ccf0 __1cSACE_TP_Token_GuardKgrab_token6MpnOACE_Time_Value__i_ (f820b884, 0, f820b884, 0, 0, 0) + b8
ff05d204 __1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae8920, 0, 0, 0, 0, 0) + 6c
ff048488 __1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_ (3ae82d0, 0, 0, 0, 0, 0) + 68
feb812e8 __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ (3ad89e8, 0, 0, 0, 3b20e90, 0) + 2e0
feaa1df4 __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ (3aea0c8, 0, 0, 0, fe1ea8d4, 20) + 4c
feaa1d30 __1cJCORBA_ORBDrun6M_v_ (3aea0c8, ffbef7e0, ff15a788, 0, fe1ea8d4, 0) + 30
011fde58 __1cOTTMW_OrbThreadDsvc6M_i_ (ffbef7e0, ffbef7e0, ff15a788, 0, 0, 0) + 10
ff15a850 __1cNACE_Task_BaseHsvc_run6Fpv_1_ (ffbef7e0, 1, 0, 0, 0, 0) + 70
ff0154b0 __1cSACE_Thread_AdapterIinvoke_i6M_pv_ (3aea318, 3aea1d8, 0, 0, 0, 0) + e8
ff015360 __1cSACE_Thread_AdapterGinvoke6M_pv_ (3aea318, 0, 0, 0, 0, 0) + 118
fef776b4 ace_thread_adapter (3aea318, fcd13d38, 0, 5, 1, fe401000) + 44
fe1ab11c threadstart (3aea318, 0, 0, 0, 0, 0) + 40
----------------- lwp# 427 --------------------------------
fce1c9b8 door (0, 0, 0, 0, f6807d38, 4)
The pstack stops at this location. Can someone please explain the cause? and what does the last statement indicate.
Please respond asap.
It looks like i am also facing the same problem with my application . If by some chance you were able to solve this problem do send a mail to [email protected] I just posted the question. while searching the web i found your question which looks similar but not answered. Hope you could give me some input
Thanks
Similar Messages
-
How to increas the max user process number in Solaris 11?
Hey
Could anyone told me how to increas the max user process number in Solaris 11? I tried below as described in https://blogs.oracle.com/hasham/entry/solaris_10_increasing_number_of , but it cannot work.
set pidmax=60000
set maxusers = 4096
set maxuprc = 50000
set max_nprocs = 50000
Thanks!
Edited by: 966272 on Oct 18, 2012 7:38 AMPerhaps you should work your original forum post:
Oracle 11g installation fail on Solaris 11 64bit - ORA-00443
through to a resolution before you complicate things that likely don't apply.
You make an assumption in that other post about exceeding various maximums. That may be true or it may not be true. Since the installation of a database program seems to be your actual expectation, go work that forum thread instead. -
Ps (list process) command in Solaris 10
Dear all
I'm upgrade from Solaris 9 to Solaris 10 and recently I meet one problem:
In solaris 9, If I want to check the complete command for the running process, I could use
/usr/ucb/ps -auxww
then, the system could gives me everything.
But in Solaris 10, I use the same command, but it seems that system has "cut" the args and I can't get the expected result anymore.
Anybody ever meet such a problem before? could you give me some hints?
Cheers
ShenUnder normal circumstances, the /usr/ucb/ps command is attempting to read the ARGV[0] from the process itself. This string can be long, but is under the control of the process (it can change it while it runs). Also, because of security issues, reading this data requires process privileges (usually have to be the owner or root).
If privileges do not exist, ps will fall back to using the kernel buffer holding the first 80 characters of the exec string. This string is potentially shorter, but not under the control of the process, and no security restrictions exist for reading it.
Besides /usr/ucb/ps, you can use 'pargs <PID>' to view this string. Of course if privileges aren't held, it won't tell you anything new. But it may be more explicit in telling you that fact, rather than silently substituting the kernel string instead.
$ pargs 597
pargs: cannto examine 597: permission denied
Darren -
Memory leak in Solaris - SunOS 5.7, jre1.3.1
Hi,
I hava a java application that spawns about 100 threads. Each thread sends a request to WebLogic server 6.1. We are using Oracle 8.1.7. They are all running in a Sun box, 2 CPUs and 6gig memory.
JRE = 1.3.1
SunOS = 5.7
Weblogic = 6.1
Oracle = 8.1.7
(All running on the same box)
When we start the client application, running top shows that ,
the client JVM process - uses 40 MB of memory
WebLogic - uses 250 MB of memory
But the available memory comes down drastically (almost by 350 MB), and on bringing both the client and weblogic down, we are not able to get this 350 MB back
Running JProbe, doen not show any memory leak in our application
we are using the hotspot client version
-Xms = 128m
-Xmx = 128m
Any help is appreciatedIt looks like i am also facing the same problem with my application . If by some chance you were able to solve this problem do send a mail to [email protected] I just posted the question. while searching the web i found your question which looks similar but not answered. Hope you could give me some input
Thanks -
Detecting a memory leak in a process running on Solaris 5.7
Hi,
Iam running my application on solaris 5.7 platform.
I can see clear memory leak in that process.
Is there any tool or in-built functionality on solaris 5.7 to detect/fix that leak.
Thanks in advance,
AvvaruThanks for the reply. I already turned it off in both Safari and Spotlight preferences. However the problem persists. The process still runs, and from time to time it decides to leak all the memory as well. I really can't understand what the reason might be.
To be clear, in Safari-->Preferences-->Search-->Smart search field-->"Include Spotlight Suggestions" is un-checked. In Spotlight preferences all three "Spotlight Suggestions", "Bookmarks & History" and "Bing Web Searches" are un-checked. Process still runs under Spotlight as can be seen here:
After the last post I let it run for a while when it happened again, and below is just before i terminated it. Look at the memory usage! -
Hi,
a few doubts on solaris process creation .
The "Jim Maurno" , Peeling back process layers , Part 1 , says that
man_nprocs( maximum number of processes system-wide) =
10 + 16*maxusers(number of megabytes of memory installed in the system)
Could someone tell me how these numbers 10 and 16 were arrived at ?Before start creating a database manually, create all the necessary directories for log files/datafiles/ etc i.e. Udump, Bdump, Cdump, etc.,
3) startup mount pfile="path of the pfile"
Startup with NOMOUNT i.e startup nomount
4) run the create database script.
After creating the database, do not forget to run the two important scripts catalog.sql -- creates the views of data dictionary tables and the dynamic performance views
catproc.sql -- establishes the usage of PL/SQL functionality and creates many of the PL/SQL Oracle supplied packages
For more information on Manually Creating an Oracle Database, take a look at the Oracle Documentations.
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/create.htm#1000691
Regards,
Sabdar Syed. -
F60srvm process dies under Solaris
We are running OAS 4.0.7 under Solaris 2.6 with Oracle 8.0.5.
Our version of Developer 6 is 6.0.5.0.3.
We get a process started with "f60ctl start"
The server process dies when we invoke the form in a browser.
Anybody have any suggestions?If you start a background process, the shell remembers its pid in $!.
That can be used to store the pid in a pid-file, which may be useful when stopping the thing or preventing multiple starts.
Or you can also use a wrapper script around the java program which remembers the java process's PID and traps the exit and sigstop signals, and in the trap stops the java process. Thus you have to find your own script process, not the java process
BTW: is there any special way to stop your java process or you want just to send it a SIGTERM signal? -
ClassFormatError when starting weblogic server on Solaris, SunOS 5.6
Hi,
I get the following error when I start the server:
startWebLogic.sh
LD_LIBRARY_PATH=/sybase/sybase11/lib:/oracle/app/oracle/product/8.1.6/lib:/u
sr/openwin/lib:/opt/SUNWspro/lib:/usr/atria/lib:/usr/java1.2/jre/lib/sparc:/
sybase/sybase11/lib:/oracle/app/oracle/product/8.1.6/lib:/opt/cobol4.1/cobli
b:/weblogic/lib/solaris
/usr/java1.2/bin/java -ms64m -mx64m -classpath
./classes/boot:./eval/cloudscape/lib/cloudscape.jar -Dweblogic.class.path=./
license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses -Dweblogic.
home=. -Djava.security.manager -Djava.security.policy==/weblogic/weblogic.po
licy weblogic.Server
Exception in thread "main" java.lang.ClassFormatError:
weblogic/boot/ServerSecurityManager (Illegal UTF8 string in constant pool)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:477)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:247)
at java.net.URLClassLoader.access$1(URLClassLoader.java:213)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compiled Code)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
Can anyone help?
Regards
Simon Reavely
Software Developer
Lucent TechnologiesI get a similar error when trying to start the 4.52 weblogic server on HP-UX 11.0 using Java 2 SDK for HP-UX 1.2.2.03.00:
% java -ms64m -mx64m -classpath ./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./myserver/serverclasses \
-Djava.security.manager -Djava.security.policy==./weblogic.policy weblogic.Server
Exception in thread "main" java.lang.ClassFormatError: weblogic/boot/ServerSecurityManager (Illegal UTF8 string in constant pool)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Similary, I cannot start the weblogic console:
% java -mx32m -classpath ./classes/boot:./classes:./lib/weblogicaux.jar weblogic.Console
ExceptionDef (Illegal constant pool type)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41) -
Errors of install freeradius in solaris (SunOS 5.8)
The below are my installation procedures:
bash-2.03#./configure prefix=/usr/local/freeradius enable-shared=no with-openssl-includes=/usr/local/ssl/include with-openssl-libraries=/usr/local/ssl/lib
bash-2.03#make
ld: fatal: library -lpam: not found
ld: fatal: library -lclntsh: not found
ld: fatal: library -ldl: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -lposix4: not found
ld: fatal: library -lpthread: not found
ld: fatal: File processing errors. No output written to radiusd
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
make[4]: *** [radiusd] Error 1
make[4]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src/main'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1'
make: *** [all] Error 2
bash-2.03#make install
make[6]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src/modules/rlm_checkval'
make[5]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src/modules'
make[4]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src/modules'
Making install in main...
make[4]: Entering directory `/tmp/zhouyongjun/freeradius-1.1.1/src/main'
/tmp/zhouyongjun/freeradius-1.1.1/libtool --mode=install /tmp/zhouyongjun/freeradius-1.1.1/install-sh -c -m 755 -s radiusd /usr/local/freeradius/sbin
/tmp/zhouyongjun/freeradius-1.1.1/install-sh -c -m 755 -s radiusd /usr/local/freeradius/sbin/radiusd
install: radiusd does not exist
make[4]: *** [install] Error 1
make[4]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src/main'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/tmp/zhouyongjun/freeradius-1.1.1'
make: *** [install] Error 2
The important message is the last part of [make] command output.
Who has the related information, thanks in advanced.
laofuzhouYou don't need to install a "patch" but you will have to download and install j2sdk1.4.1. You can have multiple version of the JDK installed on a single system but, if you do so you'll have to explicitly point to which ever you want to use if it is different than what your Java home is set to in your user profile.
-
Number of CPU - Solaris SunOS 5.9
Hi,
can someone tell me how can I figure out the number of CPUs in SunOS 5.9.
I executed
psrinfo -p and the result was 8.
Then I ran
psrinfo |wc -lthe result was 12.
I'm not an expert in Unix, can one tell me what is the right command ?
Thanks.user12100384 wrote:
Hi, thanks for the reply,
In order to use parallel degree in move and rebuild segments reorganization , should I consider physical number of CPUs or the core too ? I guess I shuld use just Physical CPU, is it correct ?
If both source & destination reside on same physical disk volume, little will be gained by throwing CPU cycles at the problem.
Disk I/O saturates faster than CPU or RAM does -
Monitoring hand books and process hand book
Hi Sapiers,
Can any one help me in the preparation of the following documets.
1.Induction Manual
2.Process Handbook on BW project which includes a
breif description about all the work packets
3.BW Monitoring Handbook
4.BW Refresh Handbook
5.Useful Material on BW
6.Best prac.
7.Estimation of the work packets
Please let me know about the above mentioned documets ,How to prepare and where I can get those documents.Otherwise If guys have any following docs please mail me .([email protected])Hi Mahendra,
u will get some information/how to do guids from this below links.
https://www.sdn.sap.com/irj/sdn/howtoguides
Hope there are very useful.
cheers,
sree -
8.1.7 + JVM installation (IIOP) (solaris SunOS 5.6)
I have a problem with proper JVM installation.
On 8.1.6 it's enough to run jvminit to install java and to make it work with IIOP. But on 8.1.7 after running initjvm (succefully without any errors) i still have some objects (that exists in 8.1.6 installation) missing (for example AttrsToCorba class etc.),
anyway I cannot make IIOP connection to tha t instance.
Does anyone know what sql scripts should be runned and what jars should be loaded to database to make IIOP connection possible?
My oracle is: "Oracle8i Enterprise Edition Release 8.1.7.0.0"
Ps. After loading full_orb.jar I have some of the missing objects but in invalid state.:(I get a similar error when trying to start the 4.52 weblogic server on HP-UX 11.0 using Java 2 SDK for HP-UX 1.2.2.03.00:
% java -ms64m -mx64m -classpath ./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./myserver/serverclasses \
-Djava.security.manager -Djava.security.policy==./weblogic.policy weblogic.Server
Exception in thread "main" java.lang.ClassFormatError: weblogic/boot/ServerSecurityManager (Illegal UTF8 string in constant pool)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Similary, I cannot start the weblogic console:
% java -mx32m -classpath ./classes/boot:./classes:./lib/weblogicaux.jar weblogic.Console
ExceptionDef (Illegal constant pool type)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41) -
Solaris 10 Process Creation Cost (SMP)
Hey there,
I'm writing a authentication adapter for an inhouse application in C.
The first throwaway - prototype forks a child and execs a shell script which uses the solaris ldapsearch utility to query an AD controller.
An alternative would be to implement the whole logic in the adapter itself. This way no new processes get forked.
The nice thing about the script - way is, that I get configurability and easy debugging for free.
The bad thing is that at ~2 Additional Processes get craeated for each user that logins.
~400 users with similiar usage patterns over the day, peak between at 8.00 - 10.00 I guess.
Now the question: Besides the cpu & memory resources each process needs, are there any solaris / sun hw - specific issues to take into account?
I heard horror stories about cpu cross - calls halting all the n cpus while a process gets created and similar things.
Linux is / was known for a pretty low process creation overhead. How's Solaris doing in this field?
Thanks for any hints / pointers whatever
Regards RobertWell, since you asked....
I benchmarked the exact same machine, once under Linux (Fedora Core 7 with a vanilla kernel) and once under Solaris (Solaris 10 125101-10). The machine used is based on a Tyan Tiger MP motherboard (AMD760MPX chipset) with 2 Athlon MP2400+ CPU's and 2GB DDR memory. The HD used under Solaris is an 80GB Seagate Barracuda running on the AMD chipset's ATA100 bus, and the filesystem is UFS with logging. The Linux install is running off of a pair of 250GB Seagate Barracudas connected to a Promise SATA300+4 controller (which I am in the process of writing a Solaris driver for). The filesystem is ext3 on a mirrored volume. Compilation on both systems were performed with GCC4.2.1 using identical compiler flags, and bash was the default shell on both systems.
Here's the Linux results:
BYTE UNIX Benchmarks (Version 4.1.0)
System -- Linux defiant 2.6.22.1 #1 SMP PREEMPT Sun Aug 5 16:34:04 MST 2007 i686 athlon i386 GNU/Linux
Start Benchmark Run: Mon Aug 27 20:43:40 MST 2007
1 interactive users.
20:43:40 up 3 min, 1 user, load average: 1.20, 0.83, 0.34
lrwxrwxrwx 1 root root 4 2007-08-05 04:07 /bin/sh -> bash
/bin/sh: symbolic link to `bash'
227873832 116041816 100069944 54% /
Dhrystone 2 using register variables 5778801.2 lps (10.0 secs, 10 samples)
Double-Precision Whetstone 1681.3 MWIPS (10.0 secs, 10 samples)
System Call Overhead 813180.9 lps (10.0 secs, 10 samples)
Pipe Throughput 415162.7 lps (10.0 secs, 10 samples)
Pipe-based Context Switching 64908.7 lps (10.0 secs, 10 samples)
Process Creation 6424.4 lps (30.0 secs, 3 samples)
Execl Throughput 1421.4 lps (29.9 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks 282682.0 KBps (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks 197633.0 KBps (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 113833.0 KBps (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks 140090.0 KBps (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks 84382.0 KBps (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks 50505.0 KBps (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks 384206.0 KBps (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks 305153.0 KBps (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 164475.0 KBps (30.0 secs, 3 samples)
Shell Scripts (1 concurrent) 2355.7 lpm (60.0 secs, 3 samples)
Shell Scripts (8 concurrent) 458.3 lpm (60.0 secs, 3 samples)
Shell Scripts (16 concurrent) 236.0 lpm (60.0 secs, 3 samples)
Arithmetic Test (type = short) 376603.4 lps (10.0 secs, 3 samples)
Arithmetic Test (type = int) 397807.5 lps (10.0 secs, 3 samples)
Arithmetic Test (type = long) 391745.4 lps (10.0 secs, 3 samples)
Arithmetic Test (type = float) 783164.0 lps (10.0 secs, 3 samples)
Arithmetic Test (type = double) 786266.0 lps (10.0 secs, 3 samples)
Arithoh 0.0 lps (10.0 secs, 3 samples)
C Compiler Throughput 460.0 lpm (60.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 42626.4 lpm (30.0 secs, 3 samples)
Recursion Test--Tower of Hanoi 99086.0 lps (20.0 secs, 3 samples)
INDEX VALUES TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 5778801.2 495.2
Double-Precision Whetstone 55.0 1681.3 305.7
Execl Throughput 43.0 1421.4 330.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 113833.0 287.5
File Copy 256 bufsize 500 maxblocks 1655.0 50505.0 305.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 164475.0 283.6
Pipe Throughput 12440.0 415162.7 333.7
Process Creation 126.0 6424.4 509.9
Shell Scripts (8 concurrent) 6.0 458.3 763.8
System Call Overhead 15000.0 813180.9 542.1
=========
FINAL SCORE 392.9Here are the Solaris results:
BYTE UNIX Benchmarks (Version 4.1.0)
System -- SunOS defiant 5.10 Generic_125101-10 i86pc i386 i86pc
Start Benchmark Run: Monday, August 27, 2007 9:50:37 PM MST
4 interactive users.
9:50pm up 10 min(s), 1 user, load average: 0.16, 0.17, 0.13
lrwxrwxrwx 1 root root 4 Aug 27 21:49 /bin/sh -> bash
/bin/sh: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, stripped
/dev/dsk/c1d0s0 16525422 13567043 2793125 83% /
Dhrystone 2 using register variables 5209324.3 lps (10.0 secs, 10 samples)
Double-Precision Whetstone 1677.5 MWIPS (10.0 secs, 10 samples)
System Call Overhead 562730.0 lps (10.0 secs, 10 samples)
Pipe Throughput 573459.5 lps (10.0 secs, 10 samples)
Pipe-based Context Switching 32378.9 lps (10.0 secs, 10 samples)
Process Creation 964.9 lps (30.0 secs, 3 samples)
Execl Throughput 493.8 lps (29.9 secs, 3 samples)
File Read 1024 bufsize 2000 maxblocks 270440.0 KBps (30.0 secs, 3 samples)
File Write 1024 bufsize 2000 maxblocks 164019.0 KBps (30.0 secs, 3 samples)
File Copy 1024 bufsize 2000 maxblocks 86882.0 KBps (30.0 secs, 3 samples)
File Read 256 bufsize 500 maxblocks 138906.0 KBps (30.0 secs, 3 samples)
File Write 256 bufsize 500 maxblocks 87541.0 KBps (30.0 secs, 3 samples)
File Copy 256 bufsize 500 maxblocks 44631.0 KBps (30.0 secs, 3 samples)
File Read 4096 bufsize 8000 maxblocks 348029.0 KBps (30.0 secs, 3 samples)
File Write 4096 bufsize 8000 maxblocks 214112.0 KBps (30.0 secs, 3 samples)
File Copy 4096 bufsize 8000 maxblocks 119302.0 KBps (30.0 secs, 3 samples)
Shell Scripts (1 concurrent) 578.7 lpm (60.0 secs, 3 samples)
Shell Scripts (8 concurrent) 112.7 lpm (60.0 secs, 3 samples)
Shell Scripts (16 concurrent) 57.0 lpm (60.0 secs, 3 samples)
Arithmetic Test (type = short) 391136.1 lps (10.0 secs, 3 samples)
Arithmetic Test (type = int) 407158.5 lps (10.0 secs, 3 samples)
Arithmetic Test (type = long) 407443.4 lps (10.0 secs, 3 samples)
Arithmetic Test (type = float) 837535.1 lps (10.0 secs, 3 samples)
Arithmetic Test (type = double) 837482.8 lps (10.0 secs, 3 samples)
Arithoh 0.0 lps (10.0 secs, 3 samples)
C Compiler Throughput 617.7 lpm (60.0 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places 14656.0 lpm (30.0 secs, 3 samples)
Recursion Test--Tower of Hanoi 100918.0 lps (20.0 secs, 3 samples)
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 5209324.3 446.4
Double-Precision Whetstone 55.0 1677.5 305.0
Execl Throughput 43.0 493.8 114.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 86882.0 219.4
File Copy 256 bufsize 500 maxblocks 1655.0 44631.0 269.7
File Copy 4096 bufsize 8000 maxblocks 5800.0 119302.0 205.7
Pipe Throughput 12440.0 573459.5 461.0
Pipe-based Context Switching 4000.0 32378.9 80.9
Process Creation 126.0 964.9 76.6
Shell Scripts (8 concurrent) 6.0 112.7 187.8
System Call Overhead 15000.0 562730.0 375.2
=========
FINAL SCORE 211.7You can see that Linux is much faster than Solaris when it comes to process creation. Linux has traditionally had a pretty lightweight process creation. Solaris process creation is slower, although it doesn't seem to be "heavy". I ran 20 concurrent instances of "spawn" (the benchmark for process creation) under Solaris and despite 100% CPU usage the system was completely responsive. The creation of processes didn't monopolize the CPUs if other processes needed to run. It is also interesting to note that no matter whether I run one instance or many instances of spawn the total number of processes created per second is always around 900ish. This suggests to me that the processes are spending most of their time waiting on mutexes. The locks are no doubt adaptive, so at least one creation thread is spinning if it can, which causes the high CPU utilization. Nevertheless, the scheduler will make sure that any other processes that need CPU time get it regardless.
What this boils down to is that a lot of concurrent process creation isn't going to make much impact on system performance despite the high usage reported by top. It also means that, unless you need to create more than several hundred processes per second you should be fine. Linux might be able to create six times as many processes per second, but not when those processes actually want CPU cycles. Finally, keep in mind that Solaris is more thread-centric, and thread creation on any system is always cheaper than process creation.
This is what top reads as I type this (I also opened Sun Studio, just to add some load to the system):
load averages: 32.16, 21.47, 17.61 20:33:19
144 processes: 105 sleeping, 28 running, 8 zombie, 1 stopped, 2 on cpu
CPU states: 0.0% idle, 7.7% user, 92.3% kernel, 0.0% iowait, 0.0% swap
Memory: 1791M real, 1039M free, 808M swap in use, 2670M swap freeI don't even notice it. So, unless making the LDAP calls are extremely processor intensive I would say you should be fine. -
Solaris 9 vs 10 wrt process/thread scheduling, from perspective of 'top'
On a dual-processor UltraSpract Fire V240, running Solaris 9, the 'top' command shows:
rodan%top
load averages: 2.43, 2.23, 2.23 00:41:10
39 processes: 35 sleeping, 2 running, 2 on cpu
CPU states: % idle, % user, % kernel, % iowait, % swap
Memory: 2048M real, 1707M free, 160M swap in use, 2500M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
1551 ssgolsha 1 0 0 62M 61M run 324:17 46.89% vpr
1866 ssgolsha 1 0 0 22M 20M run 41:57 45.19% vpr
1922 mingl 4 0 0 42M 39M cpu0 1:28 6.27% messengers
1928 mingl 1 39 0 1640K 1208K cpu1 0:00 0.12% top-sun4u-5.7
185 root 3 59 0 4920K 3352K sleep 0:14 0.02% automountd
1583 mingl 1 49 0 3584K 3136K sleep 0:00 0.02% tcshrodan%top
load averages: 2.77, 2.51, 2.35 00:41:45
39 processes: 35 sleeping, 2 running, 2 on cpu
CPU states: 0.0% idle, 99.8% user, 0.2% kernel, 0.0% iowait, 0.0% swap
Memory: 2048M real, 1707M free, 160M swap in use, 2500M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
1866 ssgolsha 1 0 0 22M 20M run 42:23 38.18% vpr
1551 ssgolsha 1 0 0 62M 61M run 324:38 33.02% vpr
1922 mingl 4 0 0 42M 39M cpu1 1:51 28.34% messengers
1928 mingl 1 59 0 1640K 1280K cpu0 0:00 0.02% top-sun4u-5.7
185 root 2 59 0 4920K 3352K sleep 0:15 0.00% automountd
219 root 19 59 0 4760K 3552K sleep 0:03 0.00% nscd
1583 mingl 1 59 0 3584K 3136K sleep 0:00 0.00% tcshSunOS 5.9's man page for 'top' says STATE is the current state (one of "sleep", "WAIT", "run", "idl", "zomb", or "stop")
On a dual-processor dual-core AMD Opteron 270, running Solaris 10, the 'top' command shows:
homer% top
load averages: 0.11, 0.16, 0.12; up 7+08:19:46 17:11:47
93 processes: 91 sleeping, 2 on cpu
CPU states: 72.3% idle, 25.1% user, 2.5% kernel, 0.0% iowait, 0.0% swap
Memory: 2048M phys mem, 1606M free mem, 8001M swap, 7873M free swap
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
14685 mingl 4 30 0 112M 109M cpu 2:09 105% messengers
258 root 1 59 0 13M 5260K sleep 74:52 0.70% Xorg
9522 coby 1 59 0 47M 8116K sleep 22:44 0.33% mixer_applet2
9520 coby 1 59 0 49M 8592K sleep 6:35 0.12% gnome-netstatus
270 gdm 1 59 0 50M 6076K sleep 4:44 0.08% gdmgreeter
14658 mingl 1 59 0 2068K 1488K cpu 0:00 0.08% top
SunOS 5.10's man page for 'top' says
STATE
Current state (typically one of "sleep", "run", "idl", "zomb", or "stop").
As seen in both cases, the 'messengers' program has 4 threads.
On Solaris 9, its state is either cpu0 or cpu1, depending on the time I call 'top'. Does that mean it is actually running on either cpu0 or cpu1? What is the difference between the 'cpu0' state and the 'run'
state? And does it mean all 4 threads are running/assigned to cpu0 (or cpu1)?
On Solaris 10, the state shows 'cpu'. Does it mean it is running? And does it mean that each thread may run on a different CPU therefore the state does not show any particular CPU number? Is it correct that Solaris 9 assign the CPU on a per-process basis and Solaris 10 on a per-thread basis?On Solaris 9, its state is either cpu0 or cpu1,
depending on the time I call 'top'. Does that mean
it is actually running on either cpu0 or cpu1?Should be.
What
is the difference between the 'cpu0' state and the
'run' state?A thread can be sleeping (it doesn't have anything to do), or runnable. Although it's runnable, it doesn't mean that it's running right at that instant.
Note that it's difficult to get a good view of the situation with 'top' (or almost any other program). Because whenever 'top' looks, 'top' will always be running, even though it's only running a fraction of the time.
And does it mean all 4 threads are
running/assigned to cpu0 (or cpu1)? No. Each thread is independently executed. But since you only have 2 processors, and since 'top' has to be running when it runs, you'll only ever see your process on at most one other cpu.
You might want to use 'prstat' and 'prstat -L'. The first shows one line per process, the second one line per thread.
On Solaris 10, the state shows 'cpu'. Does it mean
it is running? And does it mean that each thread may
run on a different CPU therefore the state does not
show any particular CPU number? Is it correct that
Solaris 9 assign the CPU on a per-process basis and
Solaris 10 on a per-thread basis?I don't know exactly what top does or doesn't do. You might try 'prstat' instead.
There is no difference at this level between Solaris 9 and 10. All will schedule on a per-thread basis.
Darren -
The process of Apache can not be killed on multi-CPU on Solaris 9
Hi All,
We have the program kill [process number] and kill -p [process number] on Solaris 9 and the Apache process is alive
more than 10 seconds. A user saw the message like "Cannot stop Administration Server. Please kill process $hpid manually and
try again."
We are using 1.3.19-rev2 of Apache.
Here is the extraction from our shell script.
pidfile="./WebServer/logs/httpd.pid"
if ($ps | grep "$hpid" >/dev/null) ; then kill $hpid ; sleep 10 ; else rm -f ./
WebServer/logs/httpd.pid ; fi
# try again with more force
if ($ps | grep "$hpid" >/dev/null) ; then kill -9 $hpid ; sleep 10 ; else rm -f
./WebServer/logs/httpd.pid ; fi
# give up.
if ($ps | grep "$hpid" >/dev/null)
then
echo
echo Cannot stop Administration Server. Please kill process $hpid manually and try again.
We can reproduce the issue on sun4u Sun Fire V490 (2CPU, 8GB RRAM) , but we can not reproduce Sun blade (1CUP).
If those kind of error was barely happening on Sun Fire V490 but we can not see the phenomenon on Sun blade .
regards,Does
# pkill httpd
# pkill -2 httpd
# pkill -9 httpd
work ok?
Maybe you are looking for
-
Media Encoder CS6 does not always "Use Previews"
I've attempted several transcodes using pre-rendered timelines in Premiere Pro. Media encoder does not always use the preview files despite the appropriate box being checked. Any suggestions what I can look for? I don't see that I am doing anything d
-
i wanna know how to fill a text box background can i do like this: public void try_this(int i){ if(i==1) txtbox.setBackground(red); else txtbox.setBackground(black); ehh.... can ah??? Thanks..
-
PROBLEM WITH DW LAYER HIDING/UNHIDING
I've serious problem and trouble in working with layer. I've created my webpage with layers. I have several layers and sublayers inside each. However I'm not albe to work easy with these . I need to load some layers on webpage load. Attaching behavio
-
Hi, We are developing planning reports through Financial Reporting. In one of our reports we have a requirement to have sequencial serial no. of the rows(having project codes) will come. How can it be implemented in FR so that the serial no will be g
-
Photoshop Elements won't startup
Hello, I spent a long time last night trying to start Photoshop Elements 4 (or 3 for that matter). The repetitive course was that it would proceed quite far into the startup until a blank but flickering dialog box appeared. From the on the only choic