users@shoal.java.net

Re: [Shoal-Users] Number of ports and threads

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Thu, 03 Jan 2008 09:23:20 -0800

Glad to be of help.
Do let us know how you plan to use Shoal in your project so we can fine
tune our responses to your needs.

Constructive feedback for improvement is also always welcome.

Cheers
Shreedhar

Alireza Farhoush wrote:
> Thanks! This is very helpful.
>
> Alireza
>
> ------------------------------------------------------------------------
> *From:* Shreedhar.Ganapathy_at_Sun.COM [mailto:Shreedhar.Ganapathy_at_Sun.COM]
> *Sent:* Wednesday, January 02, 2008 9:24 PM
> *To:* users_at_shoal.dev.java.net
> *Subject:* Re: [Shoal-Users] Number of ports and threads
>
>
>
> Alireza Farhoush wrote:
>> - Does that account for the 100+ ports?
>>
> I will let Mo answer this. More below.
>> Also, on a separate note, there is a listing of the configuration
>> properties at the following javadoc url
>> https://shoal.dev.java.net/nonav/docs/api/com/sun/enterprise/ee/cms/impl
>> /common/GMSConfigConstants.html
>>
>> static String FD_MAX_RETRIES
>> static String FD_TIMEOUT
>> static String MERGE_MAX_INTERVAL
>> static String MERGE_MIN_INTERVAL
>> static String MULTICAST_ADDRESS
>> static String MULTICAST_PORT
>> static String PING_TIMEOUT
>> static String VS_TIMEOUT
>>
> Good catch on this one. This class is a remnant of our original (prior
> to open sourcing) exercise. I will mark this class as Deprecated (or
> even remove it from cvs ) as it is not the right way to configure.
> ServiceProviderConfigurationKeys
> <https://shoal.dev.java.net/nonav/docs/api/com/sun/enterprise/ee/cms/core/ServiceProviderConfigurationKeys.html>
> is the right api to use.
>
>> Is there a description of these parameters somewhere (Multicast
>> parameters are pretty much self descriptive)? Is it possible to adjust
>> the heartbeat interval of the cluster nodes?
>>
> Yes, you can configure a few relevant parameters. We assume each
> cluster member has identical failure detection and verification
> timeouts to prevent lopsided group events.
> For the configuration keys, please see the javadoc for
> ServiceProviderConfigurationKeys
> <https://shoal.dev.java.net/nonav/docs/api/com/sun/enterprise/ee/cms/core/ServiceProviderConfigurationKeys.html>
> Also you can browse through this test code
> <https://shoal.dev.java.net/source/browse/shoal/gms/tests/com/sun/enterprise/ee/cms/tests/ApplicationServer.java?rev=1.12&view=markup>
> that we use for our tests on how we use populate these config Properties.
>
> hth
> Shreedhar
>
>
>
>> Thanks,
>>
>> Alireza
>>
>>
>> -----Original Message-----
>> From: Mohamed.Abdelaziz_at_Sun.COM [mailto:Mohamed.Abdelaziz_at_Sun.COM]
>> Sent: Wednesday, January 02, 2008 12:58 PM
>> To: users_at_shoal.dev.java.net
>> Subject: Re: [Shoal-Users] Number of ports and threads
>>
>> JXTA NIO for its TCP transport. On Windows, Java NIO uses local
>> connections for selectors for async IO. There are approximately 20
>> selectors set aside for io, hence the connections seen.
>>
>>
>> Mohamed
>>
>> Shreedhar Ganapathy wrote:
>>
>>> Hi Alireza
>>> Thanks for the netstat and tcp dump outputs and the program.
>>> We will get back to you later today.
>>>
>>> Thanks
>>> Shreedhar
>>>
>>> Alireza Farhoush wrote:
>>>
>>>> Shreedhar,
>>>>
>>>> Thanks for your quick reply. The sample basically does the following:
>>>>
>>>> //...
>>>> gms = (GroupManagementService) GMSFactory.startGMSModule(server,
>>>> group, GroupManagementService.MemberType.CORE, null);
>>>>
>>>> gms.addActionFactory(new MessageActionFactoryImpl(this),
>>>> "SHOAL-WIN-001"); gms.addActionFactory(new
>>>> JoinNotificationActionFactoryImpl(this));
>>>> gms.addActionFactory(new FailureNotificationActionFactoryImpl(this));
>>>> gms.addActionFactory(new PlannedShutdownActionFactoryImpl(this));
>>>> gms.join();
>>>> Thread.currentThread().sleep(1000000);
>>>> gms.shutdown(GMSConstants.shutdownType.INSTANCE_SHUTDOWN);
>>>> //...
>>>>
>>>> The results of netstat and tcpview (Microsoft sysinternals tool) are
>>>> listed below.
>>>>
>>>> Thanks,
>>>>
>>>> Alireza
>>>>
>>>>
>>>> All tests were done on Windows XP SP2:
>>>>
>>>> ====================================================
>>>>
>>>> NETSTAT DUMP:
>>>>
>>>> Active Connections (before running shoal application)
>>>>
>>>> Proto Local Address Foreign Address State
>>>> TCP concerto:epmap concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:microsoft-ds concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:netbios-ssn concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:1079 lime.na.tibco.com:3389 ESTABLISHED
>>>> TCP concerto:1050 localhost:62514 ESTABLISHED
>>>> TCP concerto:62514 concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:62514 localhost:1050 ESTABLISHED
>>>> TCP concerto:netbios-ssn concerto.na.tibco.com:0 LISTENING
>>>> UDP concerto:microsoft-ds *:*
>>>> UDP concerto:1025 *:*
>>>> UDP concerto:1026 *:*
>>>> UDP concerto:1053 *:*
>>>> UDP concerto:1054 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:netbios-ns *:*
>>>> UDP concerto:netbios-dgm *:*
>>>> UDP concerto:1900 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:1066 *:*
>>>> UDP concerto:1900 *:*
>>>> UDP concerto:62514 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:netbios-ns *:*
>>>> UDP concerto:netbios-dgm *:*
>>>> UDP concerto:1900 *:*
>>>>
>>>>
>>>> Active Connections (after running shoal application)
>>>>
>>>> Proto Local Address Foreign Address State
>>>> TCP concerto:epmap concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:microsoft-ds concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:9701 concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:netbios-ssn concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:1079 lime.na.tibco.com:3389 ESTABLISHED
>>>> TCP concerto:1050 localhost:62514 ESTABLISHED
>>>> TCP concerto:1117 localhost:1118 ESTABLISHED
>>>> TCP concerto:1118 localhost:1117 ESTABLISHED
>>>> TCP concerto:1119 localhost:1120 ESTABLISHED
>>>> TCP concerto:1120 localhost:1119 ESTABLISHED
>>>> TCP concerto:1121 localhost:1122 ESTABLISHED
>>>> TCP concerto:1122 localhost:1121 ESTABLISHED
>>>> TCP concerto:1123 localhost:1124 ESTABLISHED
>>>> TCP concerto:1124 localhost:1123 ESTABLISHED
>>>> TCP concerto:1125 localhost:1126 ESTABLISHED
>>>> TCP concerto:1126 localhost:1125 ESTABLISHED
>>>> TCP concerto:1127 localhost:1128 ESTABLISHED
>>>> TCP concerto:1128 localhost:1127 ESTABLISHED
>>>> TCP concerto:1129 localhost:1130 ESTABLISHED
>>>> TCP concerto:1130 localhost:1129 ESTABLISHED
>>>> TCP concerto:1131 localhost:1132 ESTABLISHED
>>>> TCP concerto:1132 localhost:1131 ESTABLISHED
>>>> TCP concerto:1133 localhost:1134 ESTABLISHED
>>>> TCP concerto:1134 localhost:1133 ESTABLISHED
>>>> TCP concerto:1135 localhost:1136 ESTABLISHED
>>>> TCP concerto:1136 localhost:1135 ESTABLISHED
>>>> TCP concerto:1137 localhost:1138 ESTABLISHED
>>>> TCP concerto:1138 localhost:1137 ESTABLISHED
>>>> TCP concerto:1139 localhost:1140 ESTABLISHED
>>>> TCP concerto:1140 localhost:1139 ESTABLISHED
>>>> TCP concerto:1141 localhost:1142 ESTABLISHED
>>>> TCP concerto:1142 localhost:1141 ESTABLISHED
>>>> TCP concerto:1143 localhost:1144 ESTABLISHED
>>>> TCP concerto:1144 localhost:1143 ESTABLISHED
>>>> TCP concerto:1145 localhost:1146 ESTABLISHED
>>>> TCP concerto:1146 localhost:1145 ESTABLISHED
>>>> TCP concerto:1147 localhost:1148 ESTABLISHED
>>>> TCP concerto:1148 localhost:1147 ESTABLISHED
>>>> TCP concerto:1149 localhost:1150 ESTABLISHED
>>>> TCP concerto:1150 localhost:1149 ESTABLISHED
>>>> TCP concerto:1151 localhost:1152 ESTABLISHED
>>>> TCP concerto:1152 localhost:1151 ESTABLISHED
>>>> TCP concerto:1153 localhost:1154 ESTABLISHED
>>>> TCP concerto:1154 localhost:1153 ESTABLISHED
>>>> TCP concerto:1155 localhost:1156 ESTABLISHED
>>>> TCP concerto:1156 localhost:1155 ESTABLISHED
>>>> TCP concerto:1157 localhost:1158 ESTABLISHED
>>>> TCP concerto:1158 localhost:1157 ESTABLISHED
>>>> TCP concerto:1159 localhost:1160 ESTABLISHED
>>>> TCP concerto:1160 localhost:1159 ESTABLISHED
>>>> TCP concerto:1161 localhost:1162 ESTABLISHED
>>>> TCP concerto:1162 localhost:1161 ESTABLISHED
>>>> TCP concerto:1163 localhost:1164 ESTABLISHED
>>>> TCP concerto:1164 localhost:1163 ESTABLISHED
>>>> TCP concerto:1165 localhost:1166 ESTABLISHED
>>>> TCP concerto:1166 localhost:1165 ESTABLISHED
>>>> TCP concerto:1167 localhost:1168 ESTABLISHED
>>>> TCP concerto:1168 localhost:1167 ESTABLISHED
>>>> TCP concerto:1169 localhost:1170 ESTABLISHED
>>>> TCP concerto:1170 localhost:1169 ESTABLISHED
>>>> TCP concerto:1171 localhost:1172 ESTABLISHED
>>>> TCP concerto:1172 localhost:1171 ESTABLISHED
>>>> TCP concerto:1173 localhost:1174 ESTABLISHED
>>>> TCP concerto:1174 localhost:1173 ESTABLISHED
>>>> TCP concerto:1175 localhost:1176 ESTABLISHED
>>>> TCP concerto:1176 localhost:1175 ESTABLISHED
>>>> TCP concerto:1177 localhost:1178 ESTABLISHED
>>>> TCP concerto:1178 localhost:1177 ESTABLISHED
>>>> TCP concerto:1179 localhost:1180 ESTABLISHED
>>>> TCP concerto:1180 localhost:1179 ESTABLISHED
>>>> TCP concerto:1181 localhost:1182 ESTABLISHED
>>>> TCP concerto:1182 localhost:1181 ESTABLISHED
>>>> TCP concerto:1183 localhost:1184 ESTABLISHED
>>>> TCP concerto:1184 localhost:1183 ESTABLISHED
>>>> TCP concerto:1185 localhost:1186 ESTABLISHED
>>>> TCP concerto:1186 localhost:1185 ESTABLISHED
>>>> TCP concerto:1187 localhost:1188 ESTABLISHED
>>>> TCP concerto:1188 localhost:1187 ESTABLISHED
>>>> TCP concerto:1189 localhost:1190 ESTABLISHED
>>>> TCP concerto:1190 localhost:1189 ESTABLISHED
>>>> TCP concerto:1191 localhost:1192 ESTABLISHED
>>>> TCP concerto:1192 localhost:1191 ESTABLISHED
>>>> TCP concerto:1193 localhost:1194 ESTABLISHED
>>>> TCP concerto:1194 localhost:1193 ESTABLISHED
>>>> TCP concerto:1195 localhost:1196 ESTABLISHED
>>>> TCP concerto:1196 localhost:1195 ESTABLISHED
>>>> TCP concerto:1197 localhost:1198 ESTABLISHED
>>>> TCP concerto:1198 localhost:1197 ESTABLISHED
>>>> TCP concerto:1199 localhost:1200 ESTABLISHED
>>>> TCP concerto:1200 localhost:1199 ESTABLISHED
>>>> TCP concerto:1201 localhost:1202 ESTABLISHED
>>>> TCP concerto:1202 localhost:1201 ESTABLISHED
>>>> TCP concerto:1203 localhost:1204 ESTABLISHED
>>>> TCP concerto:1204 localhost:1203 ESTABLISHED
>>>> TCP concerto:1205 localhost:1206 ESTABLISHED
>>>> TCP concerto:1206 localhost:1205 ESTABLISHED
>>>> TCP concerto:1207 localhost:1208 ESTABLISHED
>>>> TCP concerto:1208 localhost:1207 ESTABLISHED
>>>> TCP concerto:1209 localhost:1210 ESTABLISHED
>>>> TCP concerto:1210 localhost:1209 ESTABLISHED
>>>> TCP concerto:1211 localhost:1212 ESTABLISHED
>>>> TCP concerto:1212 localhost:1211 ESTABLISHED
>>>> TCP concerto:1213 localhost:1214 ESTABLISHED
>>>> TCP concerto:1214 localhost:1213 ESTABLISHED
>>>> TCP concerto:1215 localhost:1216 ESTABLISHED
>>>> TCP concerto:1216 localhost:1215 ESTABLISHED
>>>> TCP concerto:1217 localhost:1218 ESTABLISHED
>>>> TCP concerto:1218 localhost:1217 ESTABLISHED
>>>> TCP concerto:1219 localhost:1220 ESTABLISHED
>>>> TCP concerto:1220 localhost:1219 ESTABLISHED
>>>> TCP concerto:62514 concerto.na.tibco.com:0 LISTENING
>>>> TCP concerto:62514 localhost:1050 ESTABLISHED
>>>> TCP concerto:netbios-ssn concerto.na.tibco.com:0 LISTENING
>>>> UDP concerto:microsoft-ds *:*
>>>> UDP concerto:1025 *:*
>>>> UDP concerto:1026 *:*
>>>> UDP concerto:1053 *:*
>>>> UDP concerto:1054 *:*
>>>> UDP concerto:1234 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:netbios-ns *:*
>>>> UDP concerto:netbios-dgm *:*
>>>> UDP concerto:1900 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:1066 *:*
>>>> UDP concerto:1900 *:*
>>>> UDP concerto:62514 *:*
>>>> UDP concerto:ntp *:*
>>>> UDP concerto:netbios-ns *:*
>>>> UDP concerto:netbios-dgm *:*
>>>> UDP concerto:1900 *:*
>>>>
>>>> ====================================================
>>>>
>>>> TCPVIEW DUMP (before running the shoal application):
>>>>
>>>> svchost.exe:1408 TCP concerto:epmap concerto:0 LISTENING
>>>> svchost.exe:1708 UDP concerto.na.tibco.com:ntp *:*
>>>> svchost.exe:1708 UDP concerto:ntp *:*
>>>> svchost.exe:1804 UDP concerto:1025 *:*
>>>> svchost.exe:1804 UDP concerto:1026 *:*
>>>> svchost.exe:484 UDP concerto.na.tibco.com:1900 *:*
>>>> svchost.exe:484 UDP concerto:1900 *:*
>>>> System:4 TCP concerto:microsoft-ds concerto:0 LISTENING
>>>> System:4 TCP 192.168.0.2:netbios-ssn concerto:0 LISTENING
>>>> System:4 UDP concerto.na.tibco.com:netbios-ns *:*
>>>> System:4 UDP concerto.na.tibco.com:netbios-dgm *:*
>>>> System:4 UDP concerto:microsoft-ds *:*
>>>>
>>>> TCPVIEW DUMP (after running the shoal application):
>>>>
>>>> java.exe:2844 TCP 127.0.0.1:1245 127.0.0.1:1246 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1246 127.0.0.1:1245 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1270 127.0.0.1:1269 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1251 127.0.0.1:1252 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1249 127.0.0.1:1250 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1240 127.0.0.1:1239 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1253 127.0.0.1:1254 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1254 127.0.0.1:1253 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1255 127.0.0.1:1256 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1239 127.0.0.1:1240 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1244 127.0.0.1:1243 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1238 127.0.0.1:1237 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1265 127.0.0.1:1266 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1241 127.0.0.1:1242 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1242 127.0.0.1:1241 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1235 127.0.0.1:1236 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1267 127.0.0.1:1268 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1276 127.0.0.1:1275 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1269 127.0.0.1:1270 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1237 127.0.0.1:1238 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1250 127.0.0.1:1249 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1280 127.0.0.1:1279 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1252 127.0.0.1:1251 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1268 127.0.0.1:1267 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1233 127.0.0.1:1234 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1258 127.0.0.1:1257 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1259 127.0.0.1:1260 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1260 127.0.0.1:1259 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1257 127.0.0.1:1258 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1266 127.0.0.1:1265 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1263 127.0.0.1:1264 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1264 127.0.0.1:1263 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1232 127.0.0.1:1231 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1278 127.0.0.1:1277 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1279 127.0.0.1:1280 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1277 127.0.0.1:1278 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1273 127.0.0.1:1274 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1274 127.0.0.1:1273 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1230 127.0.0.1:1229 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1236 127.0.0.1:1235 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1262 127.0.0.1:1261 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1275 127.0.0.1:1276 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1229 127.0.0.1:1230 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1231 127.0.0.1:1232 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1248 127.0.0.1:1247 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1247 127.0.0.1:1248 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1243 127.0.0.1:1244 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1261 127.0.0.1:1262 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1234 127.0.0.1:1233 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1271 127.0.0.1:1272 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1272 127.0.0.1:1271 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1256 127.0.0.1:1255 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1331 127.0.0.1:1332 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1332 127.0.0.1:1331 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1327 127.0.0.1:1328 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1328 127.0.0.1:1327 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1325 127.0.0.1:1326 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1326 127.0.0.1:1325 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1329 127.0.0.1:1330 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1330 127.0.0.1:1329 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1307 127.0.0.1:1308 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1305 127.0.0.1:1306 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1306 127.0.0.1:1305 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1303 127.0.0.1:1304 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1304 127.0.0.1:1303 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1323 127.0.0.1:1324 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1324 127.0.0.1:1323 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1317 127.0.0.1:1318 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1315 127.0.0.1:1316 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1316 127.0.0.1:1315 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1321 127.0.0.1:1322 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1322 127.0.0.1:1321 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1318 127.0.0.1:1317 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1311 127.0.0.1:1312 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1312 127.0.0.1:1311 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1309 127.0.0.1:1310 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1310 127.0.0.1:1309 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1300 127.0.0.1:1299 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1301 127.0.0.1:1302 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1302 127.0.0.1:1301 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1299 127.0.0.1:1300 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1289 127.0.0.1:1290 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1290 127.0.0.1:1289 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1319 127.0.0.1:1320 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1320 127.0.0.1:1319 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1297 127.0.0.1:1298 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1298 127.0.0.1:1297 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1295 127.0.0.1:1296 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1296 127.0.0.1:1295 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1287 127.0.0.1:1288 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1288 127.0.0.1:1287 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1313 127.0.0.1:1314 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1314 127.0.0.1:1313 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1308 127.0.0.1:1307 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1293 127.0.0.1:1294 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1294 127.0.0.1:1293 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1285 127.0.0.1:1286 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1291 127.0.0.1:1292 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1292 127.0.0.1:1291 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1286 127.0.0.1:1285 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1281 127.0.0.1:1282 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1282 127.0.0.1:1281 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1283 127.0.0.1:1284 ESTABLISHED
>>>> java.exe:2844 TCP 127.0.0.1:1284 127.0.0.1:1283 ESTABLISHED
>>>> java.exe:2844 TCP 0.0.0.0:9701 0.0.0.0:0 LISTENING
>>>> java.exe:2844 UDP 0.0.0.0:1234 *:*
>>>> svchost.exe:1408 TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
>>>> svchost.exe:1708 UDP 192.168.0.2:123 *:*
>>>> svchost.exe:1708 UDP 127.0.0.1:123 *:*
>>>> svchost.exe:1804 UDP 0.0.0.0:1025 *:*
>>>> svchost.exe:1804 UDP 0.0.0.0:1026 *:*
>>>> svchost.exe:484 UDP 192.168.0.2:1900 *:*
>>>> svchost.exe:484 UDP 127.0.0.1:1900 *:*
>>>> System:4 TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
>>>> System:4 TCP 192.168.0.2:139 0.0.0.0:0 LISTENING
>>>> System:4 UDP 192.168.0.2:137 *:*
>>>> System:4 UDP 192.168.0.2:138 *:*
>>>> System:4 UDP 0.0.0.0:445 *:*
>>>>
>>>> ---------------------------------------------------------------------
>>>> ---
>>>> *From:* Shreedhar.Ganapathy_at_Sun.COM
>>>> [mailto:Shreedhar.Ganapathy_at_Sun.COM]
>>>> *Sent:* Tuesday, January 01, 2008 11:26 PM
>>>> *To:* users_at_shoal.dev.java.net
>>>> *Subject:* Re: [Shoal-Users] Number of ports and threads
>>>>
>>>> Hi Alireza
>>>> The number of ports created by Jxta does not sound right. Could you
>>>> share the netstat output? Also could you tell us a bit about what
>>>> your simple shoal app does?
>>>> The number of threads sounds about right.
>>>> Thanks
>>>> Shreedhar
>>>>
>>>> Alireza Farhoush wrote:
>>>>
>>>>> While experimenting with a simple shoal application, I was surprised
>>>>>
>>
>>
>>>>> to observe that the number of open ports (by shoal/jxta) is 106 and
>>>>> the thread count is 26--is this expected??
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Alireza
>>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
>> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>>
>>