[osmosis-dev] Firewall traffic

Simon Nuttall info at cyclestreets.net
Sat Oct 24 21:06:40 UTC 2015


On 24/10/15 10:58:44, michael spreng wrote:

> A little more details would be nice (as to what command you are
> running). My guesses would be: fetching diffs when updating, or Database
> connection: I don't know why, but osmosis does not use the usual socket,
> but uses a network connection to localhost to connect to postgres.


Ah, yes, sorry - I'd forgotten that osmosis can be used in so many
ways! We're mostly using it to read pbf files which have already been
downloaded - so I didn't know why there was any need for traffic.

Here's the command in essence:

osmosis -v 100 --read-pbf
osm/downloads/europe/british-isles-latest.osm.pbf  --tag-filter
accept-ways highway=* leisure=* landuse=* aerialway=* route=ferry
man_made=pier,jetty --tag-filter reject-ways
highway=motorway,construction --read-pbf ... many more countries ...
--merge  --buffer --write-apidb dbType=mysql populateCurrentTables=no
host=localhost database=planetExtractOSM user=import password=
validateSchemaVersion=no


Here's some of the output from:
netstat -nputwc


Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp6       0      0 127.0.0.1:3306          127.0.0.1:43779
ESTABLISHED 10079/mysqld
tcp6       0   3228 127.0.0.1:43779         127.0.0.1:3306
ESTABLISHED 24672/java



On 24 October 2015 at 07:31, Simon Nuttall <simon.nuttall at gmail.com> wrote:
> Why is there apparently a lot of network traffic (as noticed on our
> munin firewall chart) while osmosis is running?



More information about the osmosis-dev mailing list