From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f09f,56900c21f9b2671,start X-Google-Attributes: gid10f09f,public X-Google-Thread: f678f,56900c21f9b2671,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,56900c21f9b2671,start X-Google-Attributes: gidfee84,public From: "Vincent" Subject: [Q] Vnode table full - Part 2 Date: 1997/05/16 Message-ID: <01bc61c1$c7437300$1f1340ca@pc4>#1/1 X-Deja-AN: 242719688 Organization: Hong Kong Supernet Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,muc.lists.osf-managers Hi all, This is the second part of vnode table full post. Basically to summarize the first part, I was saying that we were having system crashes and the reported error "vnode table full", "simple lock owned". I also said that this happened only after we had applied october 96 digital patches. Since I posted the first message we have found some answer : - Apparently the bug came from our application : we have an application that control/supervise the trains of the HK metro. It runs 24 hours a day and we generate a lot of application logs. These logs tend to grow big so we have defined a maximum size after which the log is erased and we open it again. The problem is that we do not close the log files, we just open it again. It means that every time we open it again we get a new file id which is eating a vnode table entry. Thus the vnode table fills up ... and the machine crashes ... However I still have two questions for which I'd like to find an answer : 1) As I told you in my previous mail (have I ?) the crash problem only appeared after we installed october 96 set of Digital Patches. But the problem existed a long time before in our application. Our number of logs having not changed significantly it seems that the patches changed something in the way the vnode table is managed. This is why I'd like to know. Why the problem is more frequent now ? For information, the patches we installed are the 31/10/96 patche set Here is the list of patches installed on our system : OSF350-004 OSF350-090 OSF350-149 OSF350-201 OSF350-248 OSF350-006 OSF350-093 OSF350-152 OSF350-205 OSF350-250 OSF350-008 OSF350-096 OSF350-155 OSF350-206 OSF350-252 OSF350-010 OSF350-097 OSF350-156 OSF350-208 OSF350-254 OSF350-017 OSF350-100 OSF350-160 OSF350-209 OSF350-255 OSF350-018 OSF350-102 OSF350-161 OSF350-210 OSF350-256 OSF350-019 OSF350-105 OSF350-164 OSF350-211 OSF350-258 OSF350-026 OSF350-109 OSF350-165 OSF350-213 OSF350-261 OSF350-030 OSF350-110 OSF350-167 OSF350-214 OSF350-262 OSF350-034 OSF350-111 OSF350-169 OSF350-216 OSF350-268 OSF350-039 OSF350-112 OSF350-171 OSF350-218 OSF350-269 OSF350-040 OSF350-114 OSF350-176 OSF350-220 OSF350-272 OSF350-042 OSF350-115 OSF350-178 OSF350-221 OSF350-273 OSF350-046 OSF350-116 OSF350-182 OSF350-222 OSF350-276 OSF350-047 OSF350-117 OSF350-183 OSF350-223 OSF350X-001 OSF350-048 OSF350-121 OSF350-184 OSF350-224 OSF350X-002 OSF350-056 OSF350-130 OSF350-185 OSF350-226 OSF350X-003 OSF350-061 OSF350-135 OSF350-186 OSF350-227 OSF350X-011 OSF350-064 OSF350-139 OSF350-188 OSF350-230 OSF350X-015 OSF350-066 OSF350-140 OSF350-190 OSF350-231 OSF350X-016 OSF350-069 OSF350-143 OSF350-191 OSF350-234 OSF350X-019 OSF350-071 OSF350-144 OSF350-198 OSF350-240 OSF350X-020 OSF350-073 OSF350-145 OSF350-199 OSF350-244 OSF350X-021 OSF350-084 OSF350-147 OSF350-200 OSF350-245 OSF350X-023 OSF350-089 2) Using the 'kdbx -k /vmunix /dev/mem' command, I'd like to know what is the 'Offset' field when you type 'file'. See below for a sample output. Some of our files have an offset of 80 Mo, and it seems strange to us ... What does 0 means in the 'Offset' column ? Addr Type Ref Msg Fileops F_data Cred Offset Flags =========== ==== === === ======= =========== =========== ====== ===== [Process ID: 3] k0x03f2ca00 file 1 0 vnops k0x037d4000 k0x03f34100 0 r [Process ID: 130] k0x00e031c0 file 4 0 vnops k0x00800e00 k0x03f34100 0 r k0x00e02340 file 10 0 vnops k0x00800e00 k0x03f34100 1525 w k0x00e038c0 sock 1 0 sockops k0x00e55100 k0x03f34100 0 r w k0x00e03840 sock 1 0 sockops k0x00e55300 k0x03f34100 0 r w k0x00e03980 file 1 0 vnops k0x007ab200 k0x03f34100 214912 w a [...] 3) When our system crashes, there isn't any crash-data.# written in /var/adm/crash Actually the crash-data is created after the machine reboots and only if the files bounds, vmunix.# and vmcore.# exist in the /var/adm/crash directory. I don't know why but only a vmcore.# is created in our case. I have checked and it seems we have more than enough disk space ... (700 Mo free and the vmcore.# is only 266 Mo big). This is another problem to solve. I read the documentation and apprently when the system crashes the savecore binary is executed. Do you know how it is executed, by whom and when exactly ? Again thanks very much for your interest in this problem. Vincent e-mail: pcharlie@hk.super.net ( I changed my address from last time)