Hi all,
We have IDS 11.50.FC8GE runs in HP-UX 11.11. The server has four CPUs and it
has been running quite well for the last few years. The server has only IDS
installed and nothing else. Few days ago, users reported that they are having
performance issue. We look around in the server, and from top utility we see
three of the four CPUs in the server are always max to 90 plus percent by
Informix user. Do you know whats causing the CPUs spike or how to catch what
causing the spike?
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31391]
*******************************************************************************
↧
CPUs spike
↧
Re: CPUs spike
That's a multistep process:
- onstat -g cpu or onstat -g glo in combo with your top display to
determine which CPU VPs are spinning the processors
- onstat -g act to identify active threads, what they are doing, which
CPU VP they are running on, and what the rstcb key for the thread is.
- onstat -u to map the rstcb key to the 'user thread address' to find
the session id.
- onstat -g <session id> to see who the user is, its pid, and the
query(s) it's running.
If the rstcb is 0 then it is an internal thread and the thread name will
identify what it is (ie aio, kaio, listener, soctcppoll, sm_poll, etc.).
It might be a hung thread that once belonged to a session opened from a
windows based client. Windows apps are notiriously bad at properly closing
TCP connections especially if the user clicks the big red eXit button and
that can leave a thread spinning trying to return a buffer to a client
who's no longer there. If that's the case, the only solution will be to
bounce the server.
If you can't track this down or it keeps coming back and it's still causing
performance problems, ping me privately and I can consult.
Art
Art S. Kagel, Principal Consultant
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Wed, Sep 11, 2013 at 10:20 AM, TRI TRINH <tri_trinh@hotmail.com> wrote:
> Hi all,
> We have IDS 11.50.FC8GE runs in HP-UX 11.11. The server has four CPUs and
> it
> has been running quite well for the last few years. The server has only IDS
> installed and nothing else. Few days ago, users reported that they are
> having
> performance issue. We look around in the server, and from top utility we
> see
> three of the four CPUs in the server are always max to 90 plus percent by
> Informix user. Do you know whats causing the CPUs spike or how to catch
> what
> causing the spike?
>
>
>
>
>
>
>
--089e01160938bede1d04e61cabda
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31392]
*******************************************************************************
↧
↧
Re: locked mutexes!
Original post:
Hi,
I had some user sessions in locked mutexes
onstat -g lmx
Locked mutexes:
8777 c00000019a5c0f30 uselock0 2708810 0
8778 c00000019a619f30 uselock1 1683484 0
8779 c00000019a620f30 uselock2 2708811 0
I was able to trace those sessions using holder thread id and they were doing
nothing just like hung sessions.
onstat -u
c0000001c7b78960 Y--P--- 1908207 xxx tR c0000001a20a9c50 0 1 0 0
c0000001c7b80e60 Y--P--- 1878654 xxx tq c00000019c3a7860 0 1 0 0
c0000001c7b95ae0 Y--P--- 1908957 xxx tR c0000001ec7edf90 0 1 0 0
I don't see any performance issues so far but wanted to know if it can impact
anything before users starts complaining..
IDS:11.50 FC5
OS:HP-UX 11.23 ia64
Thanks!!
Response:
First off, stuff in the onstat -g lmx output isn't by default bad, it would
only possibly reflect a performance problem if you possibly saw large list of
waiters on a particular mutex, or large wait times. Second, the uselock mutex
has something to do with shared memory communication and so it's normal to see
that mutex locked while the sqlexec threads for those sessions aren't doing
anything...well what they are doing is waiting for the next request to do
something from the client application (so waiting for work).
Jacques Renaut
IBM Informix Advanced Support
APD Team
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31393]
*******************************************************************************
↧
Re: CPUs spike
Thank you very much for the advice.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31394]
*******************************************************************************
↧
Awful Trip
Hi,
I'm writing this with tears in my eyes,my family and I came down here to
Manila, Philippines for a short vacation. unfortunately,we were mugged at the
park of the hotel where we stayed,all cash, credit card and cell phone were
stolen off us but luckily for us we still have our passports with us.
We've been to the Embassy and the Police here but they're not helping issues
at all and our flight leaves in few hours from now but we're having problems
settling the hotel bills and the hotel manager won't let us leave until we
settle the bills. Well I really need your financially assistance..Please, let
me know if you can help us out?
Am freaked out at the moment!!
Long N.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31395]
*******************************************************************************
↧
↧
Error building 'sysmaster' database
Hello everyone,
I am a new user with informix. I am trying to configure and initialize
informix server. But I have the error with "oninit -ivy" command. The message
in online logs as the following:
17:31:16 Error building 'sysmaster' database.
17:31:16 See '/tmp/buildsmi.26451'.
The attachment is my onconfig and sqlhosts files. Please anyone help me to
solve this issue.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31396]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
Hi,
attachments are not supported.
Did you set the environment (INFORMIXSERVER/INFORMIXDIR/PATH
${INFORMIXDIR}/bin to reach dbaccess) before initializing the instance ?
This is a common error.
Hope this helps,
Marcus Haarmann
----- Ursprüngliche Mail -----
Von: "HOAN LUU VAN"<hoan.luuvan@nttdata.com>
An: ids@iiug.org
Gesendet: Donnerstag, 12. September 2013 07:03:59
Betreff: Error building 'sysmaster' database [31396]
Hello everyone,
I am a new user with informix. I am trying to configure and initialize
informix server. But I have the error with "oninit -ivy" command. The message
in online logs as the following:
17:31:16 Error building 'sysmaster' database.
17:31:16 See '/tmp/buildsmi.26451'.
The attachment is my onconfig and sqlhosts files. Please anyone help me to
solve this issue.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31397]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
Yes, I already set necessary environment variables and source them before I
run oninit command.
setenv INFORMIXDIR /usr/informix1
setenv INFORMIXSERVER lvhoan
setenv ONCONFIG onconfig_lvhoan
setenv INFORMIXSQLHOSTS ${INFORMIXDIR}/etc/sqlhosts_lvhoan
setenv LD_LIBRARY_PATH
${LD_LIBRARY_PATH}:${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql
setenv PATH ${PATH}:${INFORMIXDIR}/bin
setenv LVHOAN /usr/informix1/instances/${INFORMIXSERVER}
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31398]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
Hi,
since we do not have the output of your buildsmi command, due to no
attachments supported in the list,
we cannot help. Please post at least some lines in mail text.
Best regards,
Marcus Haarmann
----- Ursprüngliche Mail -----
Von: "HOAN LUU VAN"<hoan.luuvan@nttdata.com>
An: ids@iiug.org
Gesendet: Donnerstag, 12. September 2013 09:12:32
Betreff: Re: Error building 'sysmaster' database [31398]
Yes, I already set necessary environment variables and source them before I
run oninit command.
setenv INFORMIXDIR /usr/informix1
setenv INFORMIXSERVER lvhoan
setenv ONCONFIG onconfig_lvhoan
setenv INFORMIXSQLHOSTS ${INFORMIXDIR}/etc/sqlhosts_lvhoan
setenv LD_LIBRARY_PATH
${LD_LIBRARY_PATH}:${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql
setenv PATH ${PATH}:${INFORMIXDIR}/bin
setenv LVHOAN /usr/informix1/instances/${INFORMIXSERVER}
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31399]
*******************************************************************************
↧
↧
Re: Error building 'sysmaster' database
Many thanks for your prompt response. I uploaded all logs and config files to
my mediafire. Please go to the link below to get them.
http://alu5.yfzzqye5can.qjtv.e.s48.wbprx.com/download/vz0lv5yrq0cs9k9/Error_building_sysmaster_db.rar
Looking forward to your help.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31400]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
Sorry, download not possible. Please post the error lines in clear text.
Marcus Haarmann
----- Ursprüngliche Mail -----
Von: "HOAN LUU VAN"<hoan.luuvan@nttdata.com>
An: ids@iiug.org
Gesendet: Donnerstag, 12. September 2013 09:53:15
Betreff: Re: Error building 'sysmaster' database [31400]
Many thanks for your prompt response. I uploaded all logs and config files to
my mediafire. Please go to the link below to get them.
http://alu5.yfzzqye5can.qjtv.e.s48.wbprx.com/download/vz0lv5yrq0cs9k9/Error_building_sysmaster_db.rar
Looking forward to your help.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31401]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
Hi Hoan,
it seems you are initializing a 10.x IDS with a buildsmi script from a 11.50+
which includes the usage
of new datatypes (bigint).
14:39:59 IBM Informix Dynamic Server Version 10.00.UC9 Software Serial Number
AAA#B000000
Excerpt from buildsmi output:
9628: Type (bigint) not found.
Error in line 181
Near character position 0
206: The specified table (sysptnhdr) is not in the database.
111: ISAM error: no record found.
Error in line 182
Near character position 51
206: The specified table (sysptnhdr) is not in the database.
111: ISAM error: no record found.
Error in line 183
Near character position 29
206: The specified table (sysptnhdr) is not in the database.
111: ISAM error: no record found.
Error in line 184
Near character position 31
I would assume, you have mixed installations in one dir. Please re-install the
10.00 release in a clean location and
you should be able to work.
Not to mention, 10.00 is way out of support. It seems you have a 11.50+
release somewhere,
because the bigint datatype was introduced in 11.50 (
http://pic.dhe.ibm.com/infocenter/idshelp/v115/index.jsp?topic=%2Fcom.ibm.sqls.doc%2Fids_sqs_0203.htm
)
Hope this helps,
Marcus Haarmann
----- Ursprüngliche Mail -----
Von: "HOAN LUU VAN"<hoan.luuvan@nttdata.com>
An: ids@iiug.org
Gesendet: Donnerstag, 12. September 2013 09:53:15
Betreff: Re: Error building 'sysmaster' database [31400]
Many thanks for your prompt response. I uploaded all logs and config files to
my mediafire. Please go to the link below to get them.
http://alu5.yfzzqye5can.qjtv.e.s48.wbprx.com/download/vz0lv5yrq0cs9k9/Error_building_sysmaster_db.rar
Looking forward to your help.
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31402]
*******************************************************************************
↧
Re: Error building 'sysmaster' database
My server has already informix 10 instaled before in /usr/informix. And then I
installed informix 11.5 in a different folder /usr/informix1.
Afer oninit finished, here is output of onstat command:
M4K2-SysAdmDev2:informix > onstat -
IBM Informix Dynamic Server Version 11.50.FC9DE -- On-Line -- Up 00:00:47 --
38912 Kbytes
M4K2-SysAdmDev2:informix >
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31403]
*******************************************************************************
↧
↧
Re: Error building 'sysmaster' database
Your online.log says you are startion version 10.00
14:39:54 IBM Informix Dynamic Server Started.
Thu Sep 12 14:39:54 2013
14:39:54 Warning: ONCONFIG dump directory (DUMPDIR)
'/usr/informix1/instances/lvhoan/logs' has insecure permissions
14:39:54 Event alarms enabled. ALARMPROG =
'/usr/informix1/etc/alarmprogram.sh'
14:39:54 Booting Language <c> from module <>
14:39:54 Loading Module <CNULL>
14:39:54 Booting Language <builtin> from module <>
14:39:54 Loading Module <BUILTINNULL>
14:39:54 Dynamically allocated new virtual shared memory segment (size 8192KB)
14:39:54 Memory sizes:resident:12288 KB, virtual:16384 KB, no SHMTOTAL limit
14:39:59 DR: DRAUTO is 0 (Off)
14:39:59 IBM Informix Dynamic Server Version 10.00.UC9 Software Serial Number
AAA#B000000
14:40:07 IBM Informix Dynamic Server Initialized -- Complete Disk Initialized.
14:40:08 Checkpoint Completed: duration was 0 seconds.
14:40:08 Checkpoint loguniq 1, logpos 0xd0, timestamp: 0x51
Marcus Haarmann
----- Ursprüngliche Mail -----
Von: "HOAN LUU VAN"<hoan.luuvan@nttdata.com>
An: ids@iiug.org
Gesendet: Donnerstag, 12. September 2013 11:58:46
Betreff: Re: Error building 'sysmaster' database [31403]
My server has already informix 10 instaled before in /usr/informix. And then I
installed informix 11.5 in a different folder /usr/informix1.
Afer oninit finished, here is output of onstat command:
M4K2-SysAdmDev2:informix > onstat -
IBM Informix Dynamic Server Version 11.50.FC9DE -- On-Line -- Up 00:00:47 --
38912 Kbytes
M4K2-SysAdmDev2:informix >
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31404]
*******************************************************************************
↧
standalone dbaccess
Does anyone know if you can install a standalone dbaccess? or how to do it?
I've been messing with this for two days now and the only thing I get is
Unknown error message 32370.
Thanks,
Nate
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31405]
*******************************************************************************
↧
RE: standalone dbaccess
Hello.
Dbaccess utility comes together with Informix CSDK, since 3.70 relases (don´t
know exactly the specific release, but you can check it out in Information
Center website).
You just have to configure your sqlhosts file (in linux/unixes), or the
windows registry in windows clients.
Hope it helps.
Alexandre Marini
IBM Informix Certified Professional v10 / v11.50 / v11.70 / v12.10
IBM Information Management Informix Technical Professional
IBM Infosphere DataStage Technical Professional
Informix Senior DBA - Orizon Brasil
BRIUG website administrator
Informix independent consultant
> To: ids@iiug.org
> From: nathaniel.hicks@trnswrks.com
> Subject: standalone dbaccess [31405]
> Date: Thu, 12 Sep 2013 09:46:20 -0400
>
> Does anyone know if you can install a standalone dbaccess? or how to do it?
> I've been messing with this for two days now and the only thing I get is
> Unknown error message 32370.
>
> Thanks,
> Nate
>
>
>
>
>
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31406]
*******************************************************************************
↧
Re: standalone dbaccess
If you are running one of the later releases of 11.50 or later, you can
install the Client SDK version 3.50 or later on your clients which now
contains a copy of dbaccess. Also note that if you just need SQL command
execution, there are several other free options:
- Jonathan Leffler's sqlcmd utility in the IIUG Software Repository
- OAT - www.openadmintool.org (but also included with the CSDK)
- SquirrelSQL - http://squirrel-sql.sourceforge.net/
- Informix SQL Editor - https://code.google.com/p/ifmx-sql-editor/
- DtSQL - http://dtsql.com/
- SQL Explorer - http://eclipsesql.sourceforge.net/
Art
Art S. Kagel, Principal Consultant
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Thu, Sep 12, 2013 at 9:46 AM, NATE HICKS
<nathaniel.hicks@trnswrks.com>wrote:
> Does anyone know if you can install a standalone dbaccess? or how to do it?
> I've been messing with this for two days now and the only thing I get is
> Unknown error message 32370.
>
> Thanks,
> Nate
>
>
>
>
>
>
>
--089e014939642bafbd04e6319e57
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31407]
*******************************************************************************
↧
↧
character_length for utf8
We are working on utf8 characters and using following test case to find number
of characters or string length:
create table test(col varchar(50));
select col, length(col), character_length(col), substr(col,1,3),
substr(col,1,1), col[1,3] from test;
南大街 9 9 南 � 南
abc 3 3 abc a abc
ab大 5 5 ab� a ab�
The results we are getting are number of bytes consumed by a string rather
number of characters. Is ther any solution to get number of characters in a
string?
Here are additional properties used in JDBC URL:
NEWCODESET=UTF8,8859-1,819;IFX_USE_STRENC=true
Informix Version; IDS 11.5
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31408]
*******************************************************************************
↧
Re: standalone dbaccess
On 12/09/13 16:44, Art Kagel wrote:
> If you are running one of the later releases of 11.50 or later, you can
> install the Client SDK version 3.50 or later on your clients which now
> contains a copy of dbaccess. Also note that if you just need SQL command
> execution, there are several other free options:
>
> - Jonathan Leffler's sqlcmd utility in the IIUG Software Repository
>
> - OAT - www.openadmintool.org (but also included with the CSDK)
>
> - SquirrelSQL - http://squirrel-sql.sourceforge.net/
>
> - Informix SQL Editor - https://code.google.com/p/ifmx-sql-editor/
>
> - DtSQL - http://dtsql.com/
>
> - SQL Explorer - http://eclipsesql.sourceforge.net/
>
> Art
>
> Art S. Kagel, Principal Consultant
>
And let's not forget Aubit adbaccess or SQSL
--
Ciao,
Marco
______________________________________________________________________________
Marco Greco /UK /IBM Standard disclaimers apply!
Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31409]
*******************************************************************************
↧
Re: standalone dbaccess
Oh darn, I meant to mention both! My excuse? Antihistimine fog - and I
sticking to that!
Art
Art S. Kagel, Principal Consultant
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Thu, Sep 12, 2013 at 2:00 PM, Marco Greco <marco@4glworks.com> wrote:
> On 12/09/13 16:44, Art Kagel wrote:
> > If you are running one of the later releases of 11.50 or later, you can
> > install the Client SDK version 3.50 or later on your clients which now
> > contains a copy of dbaccess. Also note that if you just need SQL command
> > execution, there are several other free options:
> >
> > - Jonathan Leffler's sqlcmd utility in the IIUG Software Repository
> >
> > - OAT - www.openadmintool.org (but also included with the CSDK)
> >
> > - SquirrelSQL - http://squirrel-sql.sourceforge.net/
> >
> > - Informix SQL Editor - https://code.google.com/p/ifmx-sql-editor/
> >
> > - DtSQL - http://dtsql.com/
> >
> > - SQL Explorer - http://eclipsesql.sourceforge.net/
> >
> > Art
> >
> > Art S. Kagel, Principal Consultant
> >
>
> And let's not forget Aubit adbaccess or SQSL
>
> --
> Ciao,
> Marco
>
>
______________________________________________________________________________
> Marco Greco /UK /IBM Standard disclaimers apply!
>
> Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
> 4glworks http://www.4glworks.com
> Informix on Linux http://www.4glworks.com/ifmxlinux.htm
>
>
>
>
>
>
>
--001a11c34b48130d0804e633efdc
*******************************************************************************
To post a response via email (IIUG members only):
1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [31410]
*******************************************************************************
↧